:root {
  --bg: #f8f9fa;
  --bg-soft: #ffffff;
  --bg-elevated: #f1f3f5;
  --accent: #2c5aa0;
  --accent-alt: #4a7ba7;
  --accent-soft: rgba(44, 90, 160, 0.08);
  --accent-soft-2: rgba(74, 123, 167, 0.08);
  --text-main: #1a1f36;
  --text-muted: #4a5568;
  --text-soft: #718096;
  --border-subtle: rgba(45, 55, 72, 0.12);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 20px rgba(44, 90, 160, 0.1);
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --header-height: 80px;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Global */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  background-attachment: fixed;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s var(--transition-smooth);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px) saturate(100%);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(45, 55, 72, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s var(--transition-smooth);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
  min-width: 0;
}

.branding {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
  min-width: 0;
}

.logo-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo {
  height: 50px; /* Adjust based on your logo aspect ratio */
  width: auto;
  display: block;
  object-fit: contain;
  /* Ensure transparent background if the image has it */
  background: transparent;
  /* If the logo image has a white background and you want to remove it visually (multiply blend mode),
     or ensure it sits on white. */
  /* mix-blend-mode: multiply;  */
}

/* 
.logo-placeholder {
  ... removed ...
} 
*/

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex-shrink: 1;
}

.brand-main {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  color: #111827;
  transition: all 0.3s var(--transition-smooth);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.5;
  min-width: 0;
}

@media (max-width: 1200px) {
  .brand-sub {
    font-size: 0.8rem;
    gap: 6px;
  }
  
  .main-nav {
    gap: 16px;
    font-size: 0.9rem;
  }
}

.brand-dot {
  font-size: 0.9em;
  opacity: 0.7;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  position: relative;
  padding: 8px 4px;
  color: var(--text-soft);
  transition: all 0.2s var(--transition-smooth);
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link.is-active {
  color: var(--text-main);
  font-weight: 600;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  padding: 4px 8px;
  background: rgba(241, 243, 245, 0.8);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(45, 55, 72, 0.12);
  transition: all 0.2s var(--transition-smooth);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s var(--transition-smooth);
}

.lang-btn.is-active {
  background: rgba(44, 90, 160, 0.12);
  color: var(--accent);
  font-weight: 600;
}

.lang-btn:hover:not(.is-active) {
  color: var(--text-main);
  background: rgba(44, 90, 160, 0.08);
}

.lang-divider {
  color: var(--text-soft);
  font-size: 0.8rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Deep appearance with fixed background */
  background-attachment: fixed;
  background-image: url('../images/site/background.png');
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Darker gradient for depth and text contrast */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 0;
}

.hero-bg-orb {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(44, 90, 160, 0.08) 0%, transparent 70%);
  opacity: 0.8;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-text {
  padding-top: 16px;
  max-width: 100%;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  margin-bottom: 16px;
  font-weight: 600;
  animation: fadeInUp 0.6s var(--transition-smooth) 0.1s both;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.4);
  animation: fadeInUp 0.6s var(--transition-smooth) 0.2s both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  margin: 0 0 20px;
  font-weight: 500;
  line-height: 1.6;
  animation: fadeInUp 0.6s var(--transition-smooth) 0.3s both;
}

.hero-body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  max-width: 38rem;
  line-height: 1.8;
  animation: fadeInUp 0.6s var(--transition-smooth) 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s var(--transition-smooth) 0.5s both;
}

/* Buttons */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(74, 123, 167, 0.3);
  transition: all 0.2s var(--transition-smooth);
}

.btn-primary:hover {
  background: #3d6bb3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--transition-smooth);
}

.btn-ghost:hover {
  background: rgba(44, 90, 160, 0.08);
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* Hero card */

.hero-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 55, 72, 0.12);
  animation: fadeInRight 0.8s var(--transition-smooth) 0.3s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.float-up {
  animation: floatUp 5s ease-in-out infinite alternate, fadeInRight 0.8s var(--transition-smooth) 0.3s both;
}

@keyframes floatUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

.hero-card-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.hero-card-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  transition: all 0.2s var(--transition-smooth);
}

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

.hero-card-list li:hover {
  padding-left: 4px;
  background: rgba(44, 90, 160, 0.05);
  border-radius: 4px;
  border-bottom-color: transparent;
}

.hero-card-item-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  font-weight: 600;
}

.hero-card-item-value {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.5;
}

.hero-card-note {
  font-size: 0.82rem;
  color: var(--text-soft);
  padding-top: 12px;
  border-top: 1px dashed rgba(148, 163, 184, 0.3);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Sections */

.section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
}

.section-alt {
  background: rgba(241, 243, 245, 0.6);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-header-with-link {
  justify-content: space-between;
  flex-direction: row;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.3;
}

.section-caption {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-link {
  font-size: 0.9rem;
  color: var(--accent);
  position: relative;
  padding-right: 20px;
  font-weight: 500;
  transition: all 0.2s var(--transition-smooth);
}

.section-link::after {
  content: "↗";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.9rem;
  transition: transform 0.2s var(--transition-smooth);
}

.section-link:hover {
  color: #3d6bb3;
}

.section-link:hover::after {
  transform: translate(3px, -3px);
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card-grid-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 24px 24px 26px;
  border: 1px solid rgba(45, 55, 72, 0.12);
  box-shadow: var(--shadow-soft);
  transition: all 0.2s var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: rgba(44, 90, 160, 0.3);
}

.card-accent {
  border: 1px solid rgba(44, 90, 160, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.card-accent:hover {
  box-shadow: 0 4px 20px rgba(44, 90, 160, 0.2);
  border-color: var(--accent);
}

.card-soft {
  background: rgba(248, 249, 250, 0.8);
}

.card-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.card-body {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* People / Team */

.people-preview-row {
  display: flex;
}

.people-placeholder-card {
  max-width: 550px;
  padding: 24px 24px 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px dashed rgba(45, 55, 72, 0.2);
  transition: all 0.2s var(--transition-smooth);
}

.people-placeholder-card:hover {
  border-color: rgba(44, 90, 160, 0.4);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(44, 90, 160, 0.1);
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  font-weight: 600;
  border: 1px solid rgba(44, 90, 160, 0.2);
}

.people-placeholder-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Team Preview Grid */
.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.team-preview-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(45, 55, 72, 0.12);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(44, 90, 160, 0.25);
}

.team-preview-photo {
  margin-bottom: 20px;
}

.team-preview-photo .photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(44, 90, 160, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 2px dashed rgba(44, 90, 160, 0.3);
}

.team-preview-info {
  width: 100%;
}

.team-preview-name {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.team-preview-role {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.team-preview-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* PI Card */
.pi-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 55, 72, 0.12);
  box-shadow: var(--shadow-soft);
  max-width: 1000px;
  margin: 0 auto;
}

.pi-photo {
  flex-shrink: 0;
}

.pi-photo img {
  width: 250px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.pi-photo .photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(44, 90, 160, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  border: 2px dashed rgba(44, 90, 160, 0.3);
}

.pi-info {
  flex: 1;
}

.pi-name {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.pi-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.pi-affiliation {
  margin: 0 0 20px;
}

.pi-affiliation p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.pi-research {
  margin: 0 0 24px;
}

.pi-research p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
}

.pi-research p:last-child {
  margin-bottom: 0;
}

.pi-research strong {
  color: var(--text-main);
  font-weight: 600;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.profile-btn:hover {
  background: #3d6bb3;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44, 90, 160, 0.3);
}

.profile-btn::after {
  content: "→";
  font-size: 1.2rem;
  transition: transform 0.3s var(--transition-smooth);
}

.profile-btn:hover::after {
  transform: translateX(4px);
}

/* Team Members Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.team-member-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(45, 55, 72, 0.12);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(44, 90, 160, 0.3);
}

.member-photo {
  margin-bottom: 20px;
  width: 100%;
  aspect-ratio: 4/5; /* 固定长宽比，确保大小一致 */
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-elevated);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 关键：裁剪图片以填满容器，不变形 */
  display: block;
}

.member-photo .photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.08) 0%, rgba(44, 90, 160, 0.03) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 2px dashed rgba(44, 90, 160, 0.2);
}

.member-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-name {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
}

.member-position {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

.member-research {
  margin: 0 0 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.profile-btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(44, 90, 160, 0.1);
  color: var(--accent);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.3s var(--transition-smooth);
  border: 1px solid rgba(44, 90, 160, 0.2);
  align-self: flex-start;
}

.profile-btn-small:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.profile-btn-small::after {
  content: "→";
  font-size: 1rem;
  transition: transform 0.3s var(--transition-smooth);
}

.profile-btn-small:hover::after {
  transform: translateX(3px);
}

/* Profile Detail Page */
.profile-detail-card {
  max-width: 900px;
  margin: 0 auto;
}

.profile-photo-large {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.profile-photo-large img {
  width: 280px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.profile-photo-large .photo-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(44, 90, 160, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  border: 2px dashed rgba(44, 90, 160, 0.3);
}

.profile-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 55, 72, 0.12);
  box-shadow: var(--shadow-soft);
}

.profile-section {
  margin-bottom: 40px;
}

.profile-section:last-child {
  margin-bottom: 0;
}

.profile-section-title {
  margin: 0 0 16px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.profile-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
}

.profile-list {
  margin: 0;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
}

.profile-list li {
  margin-bottom: 8px;
}

.profile-publications {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.7;
}

.profile-publications li {
  margin-bottom: 16px;
  padding-left: 20px;
  position: relative;
}

.profile-publications li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s var(--transition-smooth);
}

.profile-link:hover {
  color: #3d6bb3;
  transform: translateX(4px);
}

.profile-email {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s var(--transition-smooth);
}

.profile-email:hover {
  color: #3d6bb3;
  text-decoration: underline;
}

/* Simple Profile Layout */
.profile-simple-container {
  display: flex;
  flex-direction: column-reverse; /* Mobile: text first, photo on top (reversed column-reverse means text bottom, photo top? logic check: original was column-reverse) */
  /* Re-reading Logic: flex-direction: column-reverse puts the last item first.
     Structure: <div textual> <div photo>
     column-reverse: Photo Top, Text Bottom. Correct for mobile.
  */
  gap: 40px;
  background: rgba(255, 255, 255, 0.95);
  padding: 60px; /* Increased padding for elegance */
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 55, 72, 0.08); /* Softer border */
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08); /* More elegant shadow */
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden; /* For decorative elements */
}

/* Decorative background accent */
.profile-simple-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
}

@media (min-width: 768px) {
  .profile-simple-container {
    flex-direction: row;
    align-items: center; /* Center vertically for balanced look */
    justify-content: space-between;
    padding: 60px 80px; /* More horizontal breathing room */
    gap: 60px;
  }
}

.profile-intro-text {
  flex: 1;
  font-size: 1.2rem; /* Slightly larger base text */
  line-height: 1.8;
  color: var(--text-muted); /* Softer text color for elegance */
  white-space: pre-line;
  padding-right: 0;
  position: relative;
}

/* Add a decorative quote mark specifically for the intro text */
.profile-intro-text::before {
  content: "“";
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: serif;
  font-size: 5rem;
  color: var(--accent-soft);
  opacity: 0.5;
  line-height: 1;
  z-index: 0;
}

.profile-intro-text p {
  position: relative;
  z-index: 1;
}

/* Highlight the first line/sentence slightly */
.profile-intro-text p:first-of-type::first-line {
  color: var(--text-main);
  font-weight: 500;
}


.profile-photo-side {
  flex-shrink: 0;
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  position: relative; /* For photo decoration */
}

/* Decorative element behind photo */
.profile-photo-side::before {
  content: "";
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-soft-2);
  border-radius: 12px;
  z-index: 0;
  transition: transform 0.4s ease;
}

.profile-simple-container:hover .profile-photo-side::before {
  transform: translate(5px, 5px);
}

.profile-photo-side img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Deeper shadow */
  position: relative;
  z-index: 1;
}


/* News */

.news-preview {
  padding: 12px 0 16px;
}

.news-empty-state {
  border-radius: var(--radius-md);
  border: 1px dashed rgba(45, 55, 72, 0.2);
  padding: 24px 24px 26px;
  background: rgba(248, 249, 250, 0.8);
  backdrop-filter: blur(8px);
  transition: all 0.2s var(--transition-smooth);
}

.news-empty-state:hover {
  border-color: rgba(44, 90, 160, 0.4);
  transform: translateY(-2px);
}

.news-empty-title {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
}

.news-empty-body {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* News Preview List */
.news-preview-list {
  max-width: 900px;
  margin: 24px auto 0;
}

.news-preview-item {
  padding: 24px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 55, 72, 0.12);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--transition-smooth);
}

.news-preview-item:last-child {
  margin-bottom: 0;
}

.news-preview-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: rgba(44, 90, 160, 0.25);
}

.news-preview-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: rgba(44, 90, 160, 0.08);
  border-radius: var(--radius-sm);
}

.news-preview-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.news-preview-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* News Slider */
.news-slider-wrapper {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20px,
    black calc(100% - 20px),
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20px,
    black calc(100% - 20px),
    transparent
  );
}

.news-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 0 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(44, 90, 160, 0.3) transparent;
}

.news-slider::-webkit-scrollbar {
  height: 8px;
}

.news-slider::-webkit-scrollbar-track {
  background: transparent;
}

.news-slider::-webkit-scrollbar-thumb {
  background: rgba(44, 90, 160, 0.3);
  border-radius: 4px;
}

.news-slider::-webkit-scrollbar-thumb:hover {
  background: rgba(44, 90, 160, 0.5);
}

.news-slider-item {
  flex: 0 0 400px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(45, 55, 72, 0.12);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--transition-smooth);
}

.news-slider-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(44, 90, 160, 0.25);
}

.news-slider-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: rgba(44, 90, 160, 0.08);
  border-radius: var(--radius-sm);
}

.news-slider-title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.news-slider-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* News List */
.news-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.news-markdown li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(45, 55, 72, 0.08);
  line-height: 1.7;
  transition: all 0.2s ease;
}

.news-markdown li:first-child {
  padding-top: 0;
}

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

.news-markdown li:hover {
  transform: translateX(4px);
}

.news-markdown .news-date {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(44, 90, 160, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 0;
}

.news-markdown .news-content {
  font-size: 0.95rem;
  color: var(--text-main);
}

.news-markdown .news-content strong {
  color: var(--accent);
}

.news-markdown .news-content em {
  font-style: italic;
}

.news-markdown .news-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.news-markdown .news-content a:hover {
  text-decoration: underline;
}

.news-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(45, 55, 72, 0.12);
  transition: all 0.3s var(--transition-smooth);
}

.news-item:first-child {
  padding-top: 0;
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-item:hover {
  transform: translateX(8px);
}

.news-date {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(44, 90, 160, 0.08);
  border-radius: var(--radius-sm);
}

.news-title {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.news-description {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-top: 16px;
  border-radius: var(--radius-md);
  background: #000;
  box-shadow: var(--shadow-md);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.news-image-container {
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.news-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s var(--transition-smooth);
}

.news-item:hover .news-image-container img {
  transform: scale(1.02);
}

.news-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  gap: 6px;
}

.news-link:hover {
  color: var(--accent-dark);
}

.news-link .arrow {
  transition: transform 0.3s ease;
}

.news-link:hover .arrow {
  transform: translateX(4px);
}

/* Page hero */

.page-hero {
  padding: 50px 0 32px;
  background: rgba(241, 243, 245, 0.8);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.page-title {
  margin: 0 0 10px;
  font-size: 2rem;
  letter-spacing: -0.04em;
  font-weight: 700;
  line-height: 1.2;
}

.page-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Misc */

.placeholder-line {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 50rem;
  line-height: 1.7;
}

/* Contact */

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

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

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 55, 72, 0.12);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.contact-section-title {
  margin: 0 0 24px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-label {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item-value {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
}

.contact-email {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s var(--transition-smooth);
}

.contact-email:hover {
  color: #3d6bb3;
  text-decoration: underline;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(45, 55, 72, 0.1);
  margin-top: 16px;
  flex: 1;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* Lab Fun */

.labfun-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.labfun-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(45, 55, 72, 0.12);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--transition-smooth);
}

.labfun-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(44, 90, 160, 0.3);
}

.labfun-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  aspect-ratio: 4/3;
  background: #f1f5f9;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.labfun-gallery::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.labfun-gallery {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.labfun-gallery img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.labfun-photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.labfun-photo .photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.08) 0%, rgba(44, 90, 160, 0.03) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(45, 55, 72, 0.1);
}

.labfun-info {
  padding: 20px;
}

.labfun-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.labfun-date {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}

.labfun-description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */

.site-footer {
  padding: 28px 0 32px;
  border-top: 1px solid rgba(45, 55, 72, 0.12);
  background: rgba(248, 249, 250, 0.95);
  position: relative;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-soft);
  flex-wrap: wrap;
}

.footer-dot {
  padding: 0 6px;
  opacity: 0.6;
}

.footer-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(45, 55, 72, 0.1);
}

.footer-affiliations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s var(--transition-smooth);
  font-weight: 500;
}

.footer-link:hover {
  color: #3d6bb3;
  text-decoration: underline;
}

.footer-link-divider {
  color: var(--text-soft);
  opacity: 0.6;
}

/* Publication List */
.publication-list {
  max-width: 900px;
  margin: 0 auto;
}

.publication-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(45, 55, 72, 0.12);
  align-items: flex-start;
}

.publication-item:last-of-type {
  border-bottom: none;
}

.publication-cover {
  flex-shrink: 0;
  width: 100px;
  height: 140px;
  background: var(--bg-elevated);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  position: relative;
}

.cover-placeholder::after {
  content: 'PDF';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  opacity: 0.5;
}

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

.publication-title {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-main);
  margin: 0;
}

.publication-title em {
  font-style: italic;
}

.pubmed-link-container {
  margin-top: 48px;
  text-align: center;
}

.pubmed-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.3s var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.pubmed-link:hover {
  background: #3d6bb3;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44, 90, 160, 0.3);
}

.arrow-icon {
  font-size: 1.2rem;
  transition: transform 0.3s var(--transition-smooth);
}

.pubmed-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* Reveal on scroll */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Components */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 5px);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -5px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Lower than site-header (100) but higher than content */
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--transition-smooth);
  backdrop-filter: blur(2px);
}

.mobile-menu-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    max-width: 400px;
    margin: 20px 0 0;
  }

  /* Mobile Nav */
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 100px 30px 40px;
    gap: 15px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    align-items: flex-start;
  }

  .main-nav.is-open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    font-size: 1.05rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(45, 55, 72, 0.05);
  }
  
  .nav-link::after {
    display: none;
  }

  .lang-switch {
    margin-top: 20px;
    align-self: flex-start;
  }
  
  .hero {
    padding: 50px 0 70px;
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .card-grid-2col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-container iframe {
    min-height: 350px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  /* PI Card responsive */
  .pi-card {
    flex-direction: column;
    padding: 30px 24px;
    gap: 24px;
  }

  .pi-photo .photo-placeholder {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .pi-name {
    font-size: 1.6rem;
    text-align: center;
  }

  .pi-title {
    text-align: center;
  }

  /* Team grid responsive */
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Lab Fun responsive */
  .labfun-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Profile detail responsive */
  .profile-photo-large .photo-placeholder {
    width: 180px;
    height: 180px;
  }

  .profile-content {
    padding: 30px 24px;
  }

  .profile-section-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .publication-item {
    flex-direction: column;
    gap: 16px;
  }
  
  .publication-cover {
    width: 80px;
    height: 112px;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .labfun-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 40px 0 60px;
  }

  .header-inner {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .branding {
    max-width: 65%;
  }
  
  .logo-placeholder {
    width: auto;
    height: auto;
    font-size: 0.8rem;
    padding: 4px 8px;
  }
  
  .brand-main {
    font-size: 0.95rem;
  }
  
  .brand-sub {
    font-size: 0.75rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .btn-primary,
  .btn-ghost {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .news-slider-item {
    flex: 0 0 320px;
    padding: 20px;
  }
}

/* Publication Links */
.publication-cover a {
  display: block;
  width: 100%; 
  height: 100%;
  text-decoration: none;
}

.publication-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--transition-smooth);
}

.publication-title a:hover {
  color: var(--accent);
}
