:root{
  --navy:#0f3761;
  --blue:#2563eb;
  --sky:#dbeafe;
  --teal:#0f766e;
  --green:#16a34a;
  --amber:#d97706;
  --rose:#e11d48;
  --ink:#111827;
  --muted:#64748b;
  --line:#dbe3ef;
}

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

body{
  font-family:"Times New Roman",Times,serif;
  background:
    linear-gradient(135deg,#eef6ff 0%,#f7fbf6 48%,#fff7ed 100%);
  color:var(--ink);
  line-height:1.6;
}

a{color:var(--blue);text-decoration:none;}
a:hover{text-decoration:underline;}

.container{
  display:flex;
  max-width:1220px;
  margin:0 auto;
  padding:40px 20px;
  gap:36px;
}

.sidebar{
  width:290px;
  flex-shrink:0;
}

.profile{
  position:sticky;
  top:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:24px 18px;
  text-align:center;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
  overflow:hidden;
}

.profile::before{
  content:"";
  display:block;
  height:6px;
  margin:-24px -18px 20px;
  background:linear-gradient(90deg,var(--blue),var(--teal),var(--amber));
}

.avatar{
  width:164px;
  height:164px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:18px;
  border:4px solid #e5edf7;
}

.profile h1{
  font-size:2rem;
  line-height:1.15;
  margin-bottom:8px;
  color:var(--navy);
}

.profile .sub{
  font-size:.96rem;
  color:var(--muted);
  margin-bottom:4px;
}

.social-links{
  margin-top:18px;
  display:flex;
  justify-content:center;
  gap:18px;
}

.social-links a{
  color:#475569;
  font-size:1.28rem;
  transition:color .18s ease, transform .18s ease;
}

.social-links a:hover{
  color:var(--blue);
  transform:translateY(-1px);
}

.icon-text-list{
  list-style:none;
  margin-top:20px;
  text-align:left;
}

.icon-text-list li{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  font-size:.96rem;
  color:#334155;
}

.icon-text-list i{
  width:20px;
  font-size:1.05rem;
  color:var(--blue);
}

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

.main-content-inner{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:34px 34px 48px;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
}

main section{margin-bottom:46px;}
main section:last-child{margin-bottom:0;}

main h2{
  font-size:1.55rem;
  line-height:1.25;
  margin-bottom:16px;
  border-left:4px solid var(--blue);
  padding-left:12px;
  color:var(--navy);
}

#about p{
  max-width:780px;
  font-size:1rem;
  color:#1f2937;
}

#news ul{
  list-style:none;
  padding-left:0;
}

#news li{
  margin-bottom:10px;
  font-size:.96rem;
}

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

.news-timeline li{
  display:grid;
  grid-template-columns:34px 1fr;
  align-items:start;
  gap:10px;
  border:1px solid #e2e8f0;
  border-radius:8px;
  background:#fbfdff;
  padding:10px 12px;
}

.news-icon{
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#dbeafe;
  font-size:1rem;
  line-height:1;
}

.news-timeline li:nth-child(2) .news-icon{
  background:#dcfce7;
}

.news-timeline li:nth-child(3) .news-icon{
  background:#ffe4e6;
}

.news-timeline li:nth-child(4) .news-icon{
  background:#fef3c7;
}

.news-timeline li:nth-child(5) .news-icon{
  background:#ccfbf1;
}

.news-timeline strong{
  color:var(--navy);
  margin-right:6px;
}

.tag-list{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.tag-list li{
  background:#edf4ff;
  border:1px solid #bfdbfe;
  border-radius:999px;
  color:#1e3a8a;
  padding:6px 12px;
  font-size:.94rem;
}

.tag-list li:nth-child(3n+2){
  background:#ecfdf5;
  border-color:#bbf7d0;
  color:#166534;
}

.tag-list li:nth-child(3n){
  background:#fff7ed;
  border-color:#fed7aa;
  color:#9a3412;
}

.experience-list{
  margin:1em 0 16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.experience-item{
  display:flex;
  align-items:center;
  gap:16px;
  min-height:78px;
  background:#fbfdff;
  border:1px solid #e2e8f0;
  border-left:4px solid var(--blue);
  border-radius:8px;
  padding:13px 16px;
  box-shadow:0 3px 10px rgba(15,23,42,.045);
}

.experience-image{
  flex:0 0 128px;
  width:128px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.experience-image img{
  display:block;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.experience-main{
  flex:1;
  min-width:0;
}

.experience-main h3{
  margin:0 0 2px;
  font-size:1.04rem;
  color:var(--navy);
}

.experience-main p{
  margin:0;
  color:#334155;
  font-size:.95rem;
}

.experience-meta{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  gap:2px;
  text-align:right;
  white-space:nowrap;
  font-size:.86rem;
  color:var(--muted);
}

.project-list{
  display:grid;
  gap:14px;
}

.project-card{
  border:1px solid #e2e8f0;
  border-left:4px solid var(--blue);
  border-radius:8px;
  background:#fbfdff;
  padding:16px 18px;
  box-shadow:0 4px 14px rgba(15,23,42,.045);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.project-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(15,23,42,.075);
  border-color:#cbd5e1;
}

.project-card[data-accent="green"]{border-left-color:var(--green);}
.project-card[data-accent="amber"]{border-left-color:var(--amber);}
.project-card[data-accent="rose"]{border-left-color:var(--rose);}

.project-card[data-accent="green"] .project-meta{color:var(--teal);}
.project-card[data-accent="amber"] .project-meta{color:var(--amber);}
.project-card[data-accent="rose"] .project-meta{color:var(--rose);}

.project-card:first-child .project-meta{color:var(--blue);}

.project-card h3{
  color:var(--navy);
  font-size:1.08rem;
  margin-bottom:4px;
}

.project-meta{
  color:var(--muted);
  font-style:italic;
  margin-bottom:8px;
}

.project-card ul{
  padding-left:20px;
}

.project-card li{
  margin-bottom:5px;
  font-size:.95rem;
}

.note{
  margin:-6px 0 14px;
  color:#475569;
  font-style:italic;
}

.training-card{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:16px;
  border:1px solid #d1fae5;
  border-left:4px solid var(--teal);
  border-radius:8px;
  background:#f8fffb;
  padding:18px;
}

.training-icon,
.training-logo{
  width:46px;
  height:46px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ccfbf1;
  color:var(--teal);
  font-size:1.25rem;
}

.training-logo{
  background:#fff;
  border:1px solid #99f6e4;
  overflow:hidden;
}

.training-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.training-heading{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}

.training-heading h3{
  color:var(--navy);
  font-size:1.1rem;
}

.training-heading span{
  color:var(--muted);
  white-space:nowrap;
  font-size:.9rem;
}

.training-card p{
  color:#334155;
  margin:2px 0 8px;
}

.training-card ul{
  padding-left:20px;
}

.training-card li{
  margin-bottom:5px;
  font-size:.95rem;
}

.education-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.education-card{
  border:1px solid #fde68a;
  border-radius:8px;
  background:#fffdf4;
  padding:16px;
}

.education-card:nth-child(2){
  border-color:#bfdbfe;
  background:#f8fbff;
}

.education-year{
  display:inline-flex;
  color:#92400e;
  background:#fef3c7;
  border-radius:999px;
  padding:4px 10px;
  font-size:.84rem;
  margin-bottom:10px;
}

.education-card:nth-child(2) .education-year{
  color:#1e3a8a;
  background:#dbeafe;
}

.education-card h3{
  color:var(--navy);
  font-size:1.08rem;
}

.education-card p{
  color:#334155;
  margin:2px 0 8px;
}

.education-card span{
  display:block;
  color:var(--muted);
  font-size:.92rem;
}

.pub-card{
  display:flex;
  align-items:flex-start;
  gap:18px;
  background:#fbfdff;
  border:1px solid #dfe7f1;
  border-radius:8px;
  box-shadow:0 3px 10px rgba(15,23,42,.04);
  margin-bottom:16px;
  padding:13px 15px;
  transition:transform .18s ease, box-shadow .18s ease;
}

.pub-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(15,23,42,.07);
}

.pub-image{
  flex:0 0 255px;
  width:255px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pub-image img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  background:#fff;
  border:1px solid #cbd5e1;
  box-shadow:0 2px 6px rgba(15,23,42,.08);
}

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

.pub-info h3{
  font-size:1.08rem;
  line-height:1.32;
  margin-bottom:5px;
  color:var(--navy);
}

.pub-info .authors{
  font-size:.93rem;
  line-height:1.4;
  color:#475569;
  margin-bottom:4px;
}

.pub-info .venue{
  font-size:.9rem;
  line-height:1.36;
  font-style:italic;
  color:var(--muted);
  margin-bottom:8px;
}

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

.links a{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:.9rem;
}

.publication-list{
  margin-top:20px;
  padding-left:22px;
}

.publication-list li{
  margin-bottom:12px;
  padding-left:4px;
  font-size:.95rem;
}

.publication-list em{
  display:block;
  color:var(--navy);
  font-weight:600;
}

.publication-list span{
  display:block;
  color:var(--muted);
}

@media(max-width:900px){
  .container{
    flex-direction:column;
    gap:20px;
    padding:24px 14px;
  }

  .sidebar{
    width:100%;
  }

  .profile{
    position:static;
  }

  .main-content-inner{
    padding:24px 20px 34px;
  }

  .pub-card{
    flex-direction:column;
  }

  .pub-image{
    width:100%;
    flex:0 0 auto;
  }

  .experience-item{
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .experience-meta{
    flex-basis:100%;
    text-align:left;
    white-space:normal;
  }

  .training-card{
    grid-template-columns:1fr;
  }

  .training-heading{
    flex-direction:column;
    gap:2px;
  }

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