/* Research theme pages and the Korean page (ko.html). Builds on site.css and research.css (.theme, .t-grid, .t-fig). */
.crumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); margin-bottom: clamp(20px, 2.6vw, 32px); }
.crumb a { color: var(--steel); font-weight: 500; }
.crumb a:hover { color: var(--navy); }
.crumb [aria-current] { color: var(--ink-2); }
.th-head .h1 { max-width: 28ch; }
.th-head .th-fact { max-width: 78ch; margin-top: 18px; }
.th-head .eyebrow { margin-bottom: 12px; }

.th-body { padding-top: clamp(40px, 5vw, 72px); }
.th-body .lede + .lede { margin-top: 14px; }
.th-h { margin: 34px 0 12px; }
.th-res li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; }
.th-res li:last-child { border-bottom: 1px solid var(--line); }
.th-k { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.th-d { display: block; margin-top: 3px; color: var(--ink-3); font-size: 13.5px; }
.th-res .ul { overflow-wrap: anywhere; }

.th-fig + .th-fig { margin-top: 28px; }
.th-fig .media.mat-white img { padding: 3%; }
.th-facts { margin-top: 8px; padding: 6px 24px 18px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.th-fig + .th-facts { margin-top: 32px; }
.th-facts .th-h { margin-top: 18px; }
.th-facts dl > div { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.th-facts dt { font-size: 20px; font-weight: 500; line-height: 1.25; color: var(--navy); letter-spacing: -.01em; }
.th-facts dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.th-facts .credit { display: block; margin-top: 4px; font-size: 12.5px; color: var(--steel); }

.th-projects { padding-top: clamp(40px, 5vw, 72px); }
.th-plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.th-p { padding: 22px 24px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.th-p .meta { color: var(--steel); }
.th-p .h3 { margin-top: 6px; }
.th-pp { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.th-refs { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.th-refs li { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.th-refs li + li { margin-top: 6px; }
.th-more { margin-top: 12px; font-size: 13.5px; }

.th-publist li { padding: 16px 0; border-top: 1px solid var(--line); }
.th-pt { font-size: 16px; font-weight: 500; line-height: 1.45; }
.th-pt .ul { color: var(--navy); background-size: 0 1px; }
.th-pt .ul:hover { color: var(--steel); background-size: 100% 1px; }
.th-pa { margin-top: 6px; font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.th-pa strong { color: var(--navy); font-weight: 600; }
.th-pv { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.pub-id { font-size: 13px; color: var(--steel); overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.pub-id:hover { color: var(--navy); background-size: 100% 1px; }
.tag.plain { background: var(--bg-2); color: var(--ink-3); }
.th-back { margin-top: clamp(32px, 4vw, 52px); display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .th-plist { grid-template-columns: minmax(0, 1fr); }
  .th-body .t-media { order: 0; }
}
@media (max-width: 560px) {
  .th-p { padding: 18px; }
  .th-facts { padding: 4px 18px 14px; }
  .th-facts dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- Korean page ---------- */
.p-ko { word-break: keep-all; }
.ko-areas { display: grid; gap: 18px; }
.ko-area { padding: 26px 28px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.ko-area .h2 { margin-bottom: 10px; }
.ko-area > p { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); max-width: 80ch; }
.ko-area ul { margin-top: 14px; }
.ko-area li { position: relative; padding: 10px 0 10px 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.ko-area li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--th, var(--steel)); }
.ko-area li .credit { color: var(--steel); font-size: 13px; }
.ko-area .ko-links { margin-top: 14px; font-size: 14px; }
.ko-area .ko-links a + a { margin-left: 14px; }
.ko-contact dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ko-contact dt { font-weight: 600; color: var(--ink-3); }
.ko-contact dd { margin: 0; }
@media (max-width: 560px) {
  .ko-area { padding: 20px 18px; }
  .ko-contact dl > div { grid-template-columns: 1fr; gap: 2px; }
}
.th-fig .media.natural img { max-height: 520px; object-fit: contain; }
.p-ko .h1 .ko-en { display: block; margin-top: 8px; font-size: .5em; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.p-ko .th-head .lede { max-width: 66ch; }
.ko-pi-sec .h2 a:hover { color: var(--steel); }
/* sub-area section (Virtual staining on the Computational Microscopy page) */
.th-sub { margin-top: clamp(24px, 3vw, 40px); }
.th-sub > .wrap > .eyebrow { margin-bottom: 10px; }
.th-sub .th-fact { max-width: 78ch; margin-top: 16px; }
.th-subgrid { margin-top: clamp(32px, 4vw, 52px); }
.th-subp { margin-top: clamp(40px, 5vw, 64px); }
