a {
  color: #0284c7;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #0369a1;
  text-decoration: none;
}

body {
  background-color: #FFFFFF;
}

body,
td,
th,
tr,
p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #1a1a2e;
  line-height: 1.8;
}

a {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
}

strong {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #1a1a2e;
  font-weight: 600;
}

h2 {
  margin: 0;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  font-size: 23px;
  color: #1a1a2e;
  line-height: 1.8;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #0284c7;
  margin-top: 10px;
}

.papertitle {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.8;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ff6b6b;
}

.colored-box {
    color: #1a1a2e;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}

.timeline {
  position: relative;
  padding-left: 40px;
  list-style: none;
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #0284c7;
  z-index: 2;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -29px;
  top: 18px;
  width: 2px;
  height: calc(100% + 12px);
  background-color: #ddd;
  z-index: 1;
}

.timeline-item:last-child::after {
  display: none;
}

.news-timeline .timeline-item {
  padding-bottom: 20px;
}

.news-timeline .timeline-item p {
  margin: 0;
}

.news-latest::before {
  background-color: #0284c7 !important;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
}

/* ── Publications ── */
.pub-row {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
}

.pub-row:last-child {
  border-bottom: none;
}

.pub-img {
  width: 35%;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

.pub-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.pub-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pub-title {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.5;
}

.pub-authors {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.pub-venue {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.pub-links {
  margin-top: 4px;
}

@media (max-width: 600px) {
  .pub-row {
    flex-direction: column;
  }

  .pub-img {
    width: 100%;
  }


  .bio-table,
  .bio-table tbody,
  .bio-table tr {
    display: block;
    width: 100%;
  }

  .bio-table td {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    padding: 2.5%;
  }

  .bio-table td:first-child {
    text-align: center;
    padding-bottom: 0;
  }

  .bio-table td:first-child img {
    max-width: 160px;
    margin: 0 auto;
  }
}

/* ── Lightbox Modal ── */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  cursor: zoom-out;
}

.lightbox-modal.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.25s ease-in-out;
}

.lightbox-modal.show .lightbox-content {
  transform: scale(1);
}

.pub-img img {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pub-img img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}