/* ========== Base ========== */
html {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8edf2 100%);
  min-height: 100%;
}

body {
  font-family: Optima, Candara, Calibri, Arial, sans-serif;
  color: #2d2d2d;
  background-color: #ffffff;
  text-align: left;
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 54px;
  padding-right: 54px;
  padding-top: 20px;
  padding-bottom: 40px;
  max-width: 960px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10), 0 1px 6px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}

/* ========== Tables ========== */
table {
  background-color: #ffffff;
}

/* ========== Links ========== */
a, a:link, a:visited {
  color: #2980b9;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1a5276;
  text-decoration: underline;
}

/* ========== Images ========== */
img {
  border: 0;
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-family: Optima, Candara, Calibri, Arial, sans-serif;
}

h2 {
  color: #1c3a5a;
  border-bottom: 2px solid #3498db;
  padding-bottom: 6px;
  margin-top: 4px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

p {
  font-size: 15px;
  line-height: 1.65;
}

li p {
  margin-top: 4px;
  margin-bottom: 4px;
}

/* ========== Profile photo ========== */
.hoverZoomLink {
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.hoverZoomLink:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(0,0,0,0.20);
}

.hoverZoomLink img {
  display: block;
  border-radius: 10px;
}

/* ========== Photo caption ========== */
.photo-caption {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.4;
}

/* ========== News box ========== */
.news-scroll {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #d6e4f0;
  padding: 12px 16px;
  border-radius: 8px;
  background: linear-gradient(to bottom, #f8fbfe, #f0f7ff);
  font-size: 14.5px;
}

.news-scroll::-webkit-scrollbar {
  width: 5px;
}
.news-scroll::-webkit-scrollbar-track {
  background: #f0f4f8;
  border-radius: 4px;
}
.news-scroll::-webkit-scrollbar-thumb {
  background: #b0ccdf;
  border-radius: 4px;
}

/* ========== Publication entries ========== */
#tbPublications {
  margin-bottom: 6px;
}

#tbPublications td {
  padding: 10px 4px;
  border-bottom: 1px solid #edf2f7;
  line-height: 1.55;
  font-size: 14.5px;
}

#tbPublications tr:last-child td {
  border-bottom: none;
}

/* ========== Section divider ========== */
hr {
  border: none;
  border-top: 1px dashed #d0dbe5;
  margin: 14px 0;
}

/* ========== Social icon links ========== */
p[style*="text-align:center"] a img,
p[style*="text-align: center"] a img {
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.82;
}

p[style*="text-align:center"] a:hover img,
p[style*="text-align: center"] a:hover img {
  transform: translateY(-2px) scale(1.08);
  opacity: 1;
}

/* ========== Venue labels ========== */
em strong {
  color: #154360;
}

/* ========== Footer ========== */
font[color="#999999"] {
  color: #aab4be !important;
  font-size: 13px;
}