/* ===============================
   Base Reset
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.75;
}

/* =====================================
   Layout
===================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 100px 24px;
}

.section-block {
  margin-top: 30px;
}

.section {
  margin-top: 40px;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 70%;
  height: 4px;
  background: #1e3a8a;
  border-radius: 2px;
}

/* =====================================
   Navbar
===================================== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #1e3a8a;
  border-radius: 50%;
}

.links {
  display: flex;
  gap: 12px;
}

.pill-link {
  text-decoration: none;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 20px;
  color: #1e293b;
  transition: 0.25s ease;
}

.pill-link:hover {
  background: #e0e7ff;
  color: #1e3a8a;
}

/* =====================================
   Hero
===================================== */
.hero {
  padding: 150px 0 110px 0;
  text-align: center;
  background: linear-gradient(to bottom, #eef2ff, #f8fafc);
}

.h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 18px;
  color: #475569;
  margin-bottom: 40px;
}

/* Buttons */
.actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  color: #1e293b;
  transition: 0.25s ease;
}

.btn:hover {
  background: #e2e8f0;
}

.btn.primary {
  background: #1e3a8a;
  color: #ffffff;
  border: none;
}

.btn.primary:hover {
  background: #1d4ed8;
}

.hint {
  font-size: 12px;
  opacity: 0.6;
  margin-left: 6px;
}

/* =====================================
   Grid & Cards
===================================== */
.grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.card {
  background: #ffffff;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #1e3a8a;
}

/* Full-width card (不分欄) */
.card-full {
  background: #ffffff;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card-full:hover {
  transform: translateY(-6px);
}

.card-full h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.meta {
  font-size: 14px;
  color: #475569;
  margin-bottom: 16px;
}

.hr {
  margin: 30px 0;
  height: 1px;
  background: #e2e8f0;
}

.kv {
  margin-top: 16px;
}

.tag {
  display: inline-block;
  background: #e0e7ff;
  color: #1e3a8a;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin: 6px 6px 0 0;
}

/* =====================================
   Experience Group
===================================== */
.exp-group {
  margin-bottom: 30px;
}

.exp-group-title {
  font-size: 22px;
  margin-bottom: 50px;
  color: #1e3a8a;
  padding-left: 14px;
  position: relative;
}

.exp-group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 18px;
  background: #1e3a8a;
  border-radius: 2px;
}

/* =====================================
   Timeline
===================================== */
.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #1e3a8a, #60a5fa);
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: #1e3a8a;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 4px #bfdbfe;
}

.timeline-content {
  background: #ffffff;
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.timeline-content h3 {
  margin-bottom: 6px;
  color: #1e3a8a;
}

.timeline-date {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 14px;
}

/* =====================================
   Footer
===================================== */
.footer {
  margin-top: 160px;
  padding-top: 50px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: #64748b;
}


/* =====================================
   Publications
===================================== */

.pub-wrapper {
  margin-top: 80px;
}

.pub-item {
  position: relative;
  padding: 28px 28px 28px 40px;
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.04);
  transition: transform 0.25s ease;
}

.pub-item:hover {
  transform: translateY(-4px);
}

/* 左側藍線 */
.pub-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 4px;
  height: calc(100% - 48px);
  background: linear-gradient(to bottom, #1e3a8a, #60a5fa);
  border-radius: 2px;
}

.pub-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
  color: #0f172a;
}

.pub-venue {
  font-size: 14px;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.pub-authors {
  font-size: 14px;
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.6;
}

.pub-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* =====================================
   News Section
===================================== */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 10px;
}

.news-item {
  display: flex;
  gap: 20px;
  position: relative;
}

.news-date {
  flex-shrink: 0;
  width: 80px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  padding-top: 2px;
}

.news-content {
  flex: 1;
  position: relative;
  padding: 16px 20px 16px 24px;
  border-radius: 12px;
  background: #f8fafc;
  transition: all 0.25s ease;
}

.news-content:hover {
  background: #f1f5f9;
  transform: translateX(4px);
}

/* 左側藍色標記線 */
.news-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 4px;
  height: calc(100% - 28px);
  background: #1e3a8a;
  border-radius: 2px;
}

.news-title {
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
  line-height: 1.6;
  font-style: italic;
}

.news-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bio-content {
  min-height: 100px;
  color: #475569;
}
