:root {
  --bg: #D6B3E8;              
  --panel: rgba(255,255,255,0.10);  
  --text: #ffffff; 
  --muted: rgba(255,255,255,0.82);
  --primary: #f7effc;
  --secondary: #e8d6f3; 
  --border: rgba(255,255,255,0.28);
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.topbar {
  position: sticky;
  top: 0;
  background: rgba(201, 160, 220, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 600;
  color: #ffffff;
}

.nav-links a {
  margin-left: 18px;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
}

.nav-links a.active {
  color: #ffffff;
  font-weight: 500;
}

.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 40px 20px;
}

.section-title {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 0.2px;
  margin: 0 0 8px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: start;
}

h1 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.strong {
  font-weight: 600;
}

.lead {
  font-size: 18px;
  margin-bottom: 12px;
}

.meta {
  margin-top: 14px;
}

.paragraph a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.paragraph a:hover {
  opacity: 0.85;
  text-decoration: none;
}

.meta a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.meta a:hover {
  opacity: 0.85;
  text-decoration: none;
}

.meta span {
  margin: 0 8px;
  color: var(--muted);
}

.hero-text a,

.hero-text a:visited {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: none;
  background: none;
}

.hero-text a:hover {
  opacity: 0.85;
  text-decoration: none;
}

.hero-text a:active {
  color: #ffffff;
}

.hero-photo img {
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(123, 95, 207, 0.15);
}

.contact-list {
  list-style-type: disc;
  list-style-position: inside;   
  padding-left: 0;              
  margin-left: 0;
  margin-top: 18px;
}
.contact-list li {
  margin-bottom: 12px;          
  line-height: 1.6;             
  color: var(--muted);
}
.contact-list a,
.contact-list a:visited,
.contact-list a:active {
  color: #ffffff !important;   
  font-weight: 600 !important;   
  text-decoration: none !important;
  border-bottom: none !important;
}
.contact-list a:hover {
  opacity: 0.85;
  text-decoration: none !important;
}
.contact-icons {
  display: flex;
  align-items: center;
  gap: 14px;             
  margin-top: 14px;
}
.contact-icons a {
  width: 22px;         
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-decoration: none;
}
.contact-icons svg {
  width: 18px;        
  height: 18px;
  stroke-width: 1.6;   
}
.contact-icons a:hover {
  opacity: 0.7;
}
.contact-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}
.contact-text {
  max-width: 520px;
}
.contact-photo img {
  width: 100%;
  max-width: 200px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(123, 95, 207, 0.25);
}
.contact-layout{
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-top: 24px;
}

.interest-photo {
  margin: 24px 0;    
  text-align: center;
}
.interest-photo img {
  width: 100%;
  max-width: 280px;       
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(123, 95, 207, 0.22);
}
.caption {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.publications {
  margin-top: 56px;
}
.pub {
  display: grid;
  grid-template-columns: 140px 1fr; 
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.pub:first-of-type {
  border-top: none;
  padding-top: 0;
}
.pub-thumb img {
  width: 140px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(123, 95, 207, 0.20);
}
.pub-title {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 600; /* vừa, không quá đậm */
  line-height: 1.35;
  color: #ffffff;
}
.pub-authors {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}
.pub-venue {
  font-size: 14px;
  color: rgba(255,255,255,0.80);
  margin-bottom: 12px;
}
.pub-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 12px;
  border-radius: 8px;

  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.10);

  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.4px;

  text-decoration: none;
  cursor: pointer;
}
.pub-btn:hover {
  opacity: 0.85;
}
.pub-abstract {
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: 12px;
  padding: 14px 14px;
  background: rgba(0,0,0,0.08);
}
.pub-abstract p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.6;
} 

.news{
  margin: 32px 0;
}
.news .section-title{
  margin: 0 0 18px 0; /* giống selected publications */
}
.news-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
}
.news-item{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: start;
}
.news-date{
  font-weight: 600;
  opacity: 0.9;
  white-space: nowrap;
}
.news-text{
  opacity: 0.95;
  line-height: 1.5;
}
.news-text a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.95;
}
.news-text a:hover{
  opacity: 1;
}
.news-item{
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.news-item:last-child{
  border-bottom: none; 
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

h2 {
  font-size: 28px;
  font-weight: 500;
}

ul, li {
  padding-left: 20px;
  color: var(--muted);
}

.footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 36px;
  }

  .contact-layout{
    flex-direction: row; 
    gap: 20px;
  }
  .contact-avatar{
    width: 200px;
    height: 200px;
  }

  .pub {
    grid-template-columns: 1fr;
  }
  .pub-thumb img {
    width: 100%;
    height: 180px;
  }

  .news-item{
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .news-date{
    opacity: 0.85;
  }
}

