.researcher-shell {
  --founder-ink: #102d45;
  --founder-muted: #5b7182;
  --founder-line: #d9e5eb;
  --founder-blue: #0058a9;
  --founder-teal: #007d7a;
  width: min(1180px, calc(100% - 40px));
  margin: 32px auto 80px;
  color: var(--founder-ink);
}

.researcher-shell > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  color: #386179;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.researcher-shell > a:first-child:hover {
  color: var(--founder-blue);
}

.researcher-shell > a:first-child .ui-icon {
  width: 16px;
  height: 16px;
}

.researcher-hero {
  position: relative;
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 38px;
  border: 1px solid #c8dce8;
  border-radius: 18px;
  background: radial-gradient(circle at 8% 16%, rgb(85 187 176 / 28%), transparent 26%),
    linear-gradient(128deg, #edf6fb 0%, #dcecf5 52%, #f8fbfc 100%);
  box-shadow: 0 18px 42px rgb(21 63 88 / 10%);
}

.researcher-hero::after {
  position: absolute;
  top: -118px;
  left: -88px;
  width: 310px;
  height: 310px;
  border: 1px solid rgb(0 88 169 / 12%);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.researcher-hero > img {
  position: relative;
  z-index: 1;
  width: 174px;
  height: 202px;
  object-fit: cover;
  border: 6px solid white;
  border-radius: 15px;
  box-shadow: 0 14px 30px rgb(12 47 71 / 18%);
}

.researcher-hero__content {
  position: relative;
  z-index: 1;
}

.researcher-hero .eyebrow {
  color: var(--founder-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.researcher-hero h1 {
  max-width: 720px;
  margin: 9px 0 8px;
  color: var(--founder-ink);
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.25;
}

.researcher-hero p {
  margin: 0;
}

.researcher-role {
  color: #3e5b6f;
  font-size: 17px;
  font-weight: 700;
}

.researcher-specialty {
  margin-top: 10px !important;
  color: var(--founder-muted);
  font-size: 15px;
  line-height: 1.75;
}

.research-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 13px;
  padding: 4px 0 6px;
  border-bottom: 1px solid #52a69c;
  color: #006b68;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.research-profile-link strong {
  color: #004c77;
  font-family: Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.research-profile-link .ui-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.research-profile-link:hover,
.research-profile-link:focus-visible {
  border-bottom-color: currentcolor;
  color: var(--founder-blue);
}

.researcher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.researcher-tags span {
  padding: 5px 10px;
  border: 1px solid rgb(0 125 122 / 18%);
  border-radius: 999px;
  background: rgb(255 255 255 / 62%);
  color: #176f77;
  font-size: 12px;
  font-weight: 700;
}

.researcher-layout {
  display: grid;
  grid-template-columns: minmax(244px, 0.58fr) minmax(0, 1.42fr);
  gap: 28px;
  align-items: start;
}

.researcher-sidebar {
  position: sticky;
  top: 22px;
}

.researcher-card {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--founder-line);
  border-radius: 15px;
  background: white;
  box-shadow: 0 8px 24px rgb(32 74 99 / 5%);
}

.researcher-card h2 {
  margin: 0 0 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e3ebef;
  color: var(--founder-ink);
  font-size: 22px;
  line-height: 1.35;
}

.researcher-card p {
  color: var(--founder-muted);
  line-height: 1.95;
}

.researcher-card a {
  color: var(--founder-blue);
}

.researcher-sidebar dl {
  margin: 0;
}

.researcher-sidebar dt {
  margin-top: 17px;
  color: #718596;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.researcher-sidebar dt:first-child {
  margin-top: 0;
}

.researcher-sidebar dd {
  margin: 4px 0 0;
  color: #334f62;
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.researcher-card--organization {
  border-top: 4px solid var(--founder-teal);
}

.researcher-card--organization p {
  margin: 0 0 6px;
  font-size: 14px;
}

.researcher-card--organization a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.researcher-card--about {
  border-top: 4px solid var(--founder-blue);
}

.researcher-card--about p {
  margin: 0;
  font-size: 16px;
}

.researcher-card--research {
  overflow: hidden;
  border-color: #cbdde7;
  background: linear-gradient(180deg, #f9fcfd 0, white 180px);
}

.research-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 23px;
}

.research-heading > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--founder-teal);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.research-heading h2 {
  margin-bottom: 6px;
  padding: 0;
  border: 0;
}

.research-heading p {
  max-width: 460px;
  margin: 0;
  font-size: 14px;
}

.research-heading b {
  flex: 0 0 auto;
  margin-top: 5px;
  padding: 7px 10px;
  border: 1px solid #cfe4e2;
  border-radius: 999px;
  background: #edf8f6;
  color: #08736f;
  font-size: 12px;
  white-space: nowrap;
}

.research-search {
  display: block;
  margin-bottom: 20px;
  color: #526d80;
  font-size: 13px;
  font-weight: 700;
}

.research-search input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 15px;
  border: 1px solid #bdd2df;
  border-radius: 10px;
  outline: 0;
  background: white;
  color: var(--founder-ink);
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.research-search input::placeholder {
  color: #8397a5;
}

.research-search input:focus {
  border-color: #2183b7;
  box-shadow: 0 0 0 4px rgb(33 131 183 / 12%);
}

#researchList {
  display: grid;
  gap: 13px;
}

.research-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dbe7ed;
  border-radius: 12px;
  background: white;
}

.research-item__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 9px;
  min-height: 100%;
  padding: 20px 10px;
  border-inline-end: 1px solid #dbe7ed;
  background: #f0f8f8;
}

.research-year {
  color: #007c78;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
}

.research-id {
  color: #688191;
  font-family: Arial, sans-serif;
  font-size: 9px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-align: center;
}

.research-item__content {
  padding: 20px 22px;
  text-align: left;
}

.research-item h3 {
  margin: 0;
  color: #12334b;
  font: 700 19px/1.52 Arial, sans-serif;
}

.research-item p {
  margin: 10px 0 0;
  color: #5b6f7c;
  font: 14px/1.65 Arial, sans-serif;
}

.research-item .research-authors {
  color: #1e607c;
  font-weight: 700;
}

.research-supervisor span {
  color: #087b78;
  font-weight: 700;
}

.research-description {
  max-width: 760px;
}

.research-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 16px;
}

.research-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid currentcolor;
  color: #006c8f;
  font: 700 13px/1.4 Arial, sans-serif;
  text-decoration: none;
}

.research-links .ui-icon {
  width: 13px;
  height: 13px;
}

.researcher-card--achievements {
  padding-bottom: 30px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.achievement {
  overflow: hidden;
  border: 1px solid #d9e5eb;
  border-radius: 11px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.achievement:hover {
  border-color: #9dc9dc;
  box-shadow: 0 12px 25px rgb(28 75 101 / 12%);
  transform: translateY(-3px);
}

.achievement img {
  width: 100%;
  height: 158px;
  object-fit: cover;
  background: #eaf1f7;
}

.achievement:first-child img {
  object-fit: contain;
  padding: 20px;
}

.achievement > div {
  padding: 18px;
}

.achievement h3 {
  margin: 0 0 8px;
  color: var(--founder-ink);
  font-size: 17px;
  line-height: 1.55;
}

.achievement p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.achievement span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  color: var(--founder-blue);
  font-size: 12px;
  font-weight: 800;
}

.achievement .ui-icon {
  width: 13px;
  height: 13px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  .researcher-layout {
    grid-template-columns: 1fr;
  }

  .researcher-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .researcher-sidebar .researcher-card {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .researcher-shell {
    width: calc(100% - 32px);
    margin-top: 24px;
  }

  .researcher-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 25px;
    border-radius: 14px;
  }

  .researcher-hero > img {
    width: 132px;
    height: 154px;
  }

  .researcher-hero h1 {
    font-size: 29px;
  }

  .researcher-sidebar,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .researcher-card {
    padding: 22px;
    border-radius: 13px;
  }

  .research-heading {
    flex-direction: column;
    gap: 10px;
  }

  .research-heading b {
    margin-top: 0;
  }

  .research-item {
    grid-template-columns: 1fr;
  }

  .research-item__rail {
    flex-direction: row;
    justify-content: space-between;
    min-height: auto;
    padding: 11px 15px;
    border-inline-end: 0;
    border-bottom: 1px solid #dbe7ed;
  }

  .research-id {
    text-align: start;
  }

  .research-item__content {
    padding: 18px;
  }

  .research-item h3 {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-search input,
  .achievement {
    transition: none;
  }
}
