@import url("./styles-original.css");

/* Jeon Lab publication layout: year sidebar removed */
#jeonlab .year-sidebar { display: none !important; }
#jeonlab .pub-layout { display: block !important; }

/* Global typography scale-up */
#jeonlab { font-size: 17px !important; }
#jeonlab .nav a { font-size: 14px !important; }
#jeonlab .page-head .dek,
#jeonlab .authors,
#jeonlab .journal,
#jeonlab .source-metric,
#jeonlab .pub-context,
#jeonlab .paper-link,
#jeonlab .subnote,
#jeonlab .pub-source,
#jeonlab .member-role,
#jeonlab .member-affiliation,
#jeonlab .student-facts,
#jeonlab .student-journal,
#jeonlab .ip-detail,
#jeonlab .ip-translation { font-size: 1.08em !important; }
#jeonlab .paper h3 { font-size: 1.08em !important; }
#jeonlab .button { font-size: 14px !important; }
#jeonlab .news-item,
#jeonlab .entry p { font-size: 15px !important; }
#jeonlab .date,
#jeonlab .news-item time { font-size: 14px !important; }

/* Home hero */
#jeonlab .home-hero .home-lead {
  white-space: nowrap;
  font-size: 17px !important;
  letter-spacing: -0.18px;
}
#jeonlab .home-hero .actions { display: none !important; }

/* Compact Research at a glance */
#jeonlab #home-research {
  margin-top: 24px !important;
  padding-top: 0 !important;
}
#jeonlab #home-research .home-section-head {
  margin-bottom: 8px !important;
  padding-bottom: 7px !important;
}
#jeonlab #home-research .home-section-head h2 { margin: 0 !important; }
#jeonlab #home-research .home-section-head a { font-size: 13px !important; }
#jeonlab #home-research .home-research-grid {
  gap: 8px !important;
  margin-top: 0 !important;
}
#jeonlab #home-research .home-research-card {
  padding: 13px 14px 12px !important;
  min-height: 0 !important;
  border-radius: 4px !important;
}
#jeonlab #home-research .home-card-num {
  margin-bottom: 5px !important;
  font-size: 12px !important;
}
#jeonlab #home-research .home-research-card h3 {
  margin: 0 0 4px !important;
  font-size: 16px !important;
  line-height: 1.28 !important;
}
#jeonlab #home-research .home-research-card p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

/* Publication milestone separators */
#jeonlab .milestone {
  text-align: center !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  margin: 42px 0 28px !important;
  letter-spacing: -0.25px;
}

/* Full news archive */
#jeonlab .news-archive { margin-top: 6px; }
#jeonlab .news-year {
  margin: 30px 0 8px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
}
#jeonlab .news-year:first-child { margin-top: 4px; }
#jeonlab .news-archive .news-list { margin-bottom: 4px; }

/* PI profile photo: use the original high-resolution JPG uploaded to the repository root */
#jeonlab #members-photo {
  background: #fff url("../../dongho-jeon.jpg") center center / cover no-repeat !important;
}
#jeonlab #members-photo .photo-fallback,
#jeonlab #members-photo > img {
  display: none !important;
}

/* Google Drive photo gallery */
#jeonlab .drive-gallery-shell { padding: 4px 0 24px; }
#jeonlab .drive-gallery-status { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
#jeonlab .drive-gallery-count { text-align: right; }
#jeonlab .drive-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
#jeonlab .drive-photo-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  text-align: left;
  color: var(--ink);
  cursor: zoom-in;
}
#jeonlab .drive-photo-card:hover { border-color: #b9c8d9; }
#jeonlab .drive-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f6;
}
#jeonlab .drive-photo-caption {
  display: block;
  padding: 10px 12px 11px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--body);
  overflow-wrap: anywhere;
}
#jeonlab .photo-lightbox {
  width: min(92vw, 1100px);
  max-width: 1100px;
  border: 0;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}
#jeonlab .photo-lightbox::backdrop { background: rgba(18,30,48,.76); }
#jeonlab .photo-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  object-fit: contain;
}
#jeonlab .photo-lightbox p { margin: 10px 34px 0 2px; color: var(--body); font-size: 14px; }
#jeonlab .photo-lightbox-close {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  #jeonlab .home-hero .home-lead {
    white-space: normal;
    font-size: 16px !important;
  }
}
@media (max-width: 760px) {
  #jeonlab .drive-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  #jeonlab #home-research .home-research-grid { gap: 7px !important; }
}
@media (max-width: 540px) {
  #jeonlab { font-size: 16px !important; }
  #jeonlab .milestone { font-size: 20px !important; }
  #jeonlab .news-year { font-size: 19px; margin-top: 24px; }
  #jeonlab .drive-gallery { grid-template-columns: 1fr; }
  #jeonlab .drive-photo-caption { font-size: 13px; }
  #jeonlab #home-research .home-research-card { padding: 12px !important; }
}
