/* Main resets */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: sans-serif; line-height:1.6; color:#333; background:#f9f9f9; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:2rem 2rem;
  border-bottom:1px solid #e0e0e0;
  position: sticky;
  top:0;
  z-index: 1000;
  background: linear-gradient(
    135deg,
    #e6e6e6,
    #ffffff,
    #d0d0d0,
    #fafafa,
    #bfbfbf
  );
  border-bottom: 1px solid #bbb;
  /* subtle outer glow */
  box-shadow:           0 0 20px rgba(210, 210, 210, 0.6),              /* outer glow */
    inset 0 4px 8px rgba(255, 255, 255, 0.8),       /* strong top gloss */
    inset 0 -2px 4px rgba(150, 150, 150, 0.15);     /* subtle bottom shadow */
  border-bottom: border-bottom: 1px solid #aaa;
}


.logo { font-size:1.5rem; font-weight:bold;}

.logo a {
  text-decoration: none;
  color: inherit; /* optional: inherit color from parent */
}

.main-nav a {
  margin-left:1.5rem; text-decoration:none; color:#333; font-weight:500; 
}
.nav-toggle { display: none; }


/* About section */
.about { background:#fff; padding:2rem 8rem; font-size: 1.1rem; text-align:center; line-height: 2rem; }

/* Main content container */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Highlighted pub */
.highlighted h2 { margin:1rem 10rem; font-size:1.4rem; text-align:left; font-weight:normal;}
.pub-card {
  display: flex; background:#fff; padding:1rem; border:1px solid #ddd; border-radius:8px;
  margin:2rem 10rem;
   box-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.04),
    0 4px 20px rgba(100, 150, 255, 0.25),
    0 0 40px rgba(173, 216, 230, 0.2); /* soft glow */

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}
.pub-text {
  flex: 1;
  margin: 0.5rem 2rem;
}
.pub-text h3 { margin-bottom:0.5rem; font-size:1.25rem; }
.pub-text p { margin-bottom:0.5rem;}

.pub-text a {
  text-decoration: underline;
  color: darkblue; /* optional: inherit color from parent */
  font-weight:
}

.pub-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 4px;
  margin: 1px 3px;
}

/* All publications list */
.publications h2 { margin-bottom:1rem; font-size:1.4rem; }
.pub-list .pub-item { background:#fff; padding:1rem; border-bottom:1px solid #eee; }
.pub-list .pub-item h4 { margin-bottom:0.3rem; font-size:1rem; }



/* Footer */
.site-footer {
  padding:1rem; background:#fff; text-align:center; font-size:0.9rem;
  border-top:1px solid #e0e0e0;
}



/* Responsive nav toggle for small screens */
@media (max-width: 768px) {
  .main-nav { display:none; flex-direction:column; }
  .nav-toggle { display:block; background:none; border:none; font-size:1.5rem; }
}
