/* 09专家详情 — Figma 26:15259 */

.page-expert {
  background: var(--green-mint);
}

.ed {
  padding: 0 0 56px;
}

.ed__bar {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ed__bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  gap: 16px;
}

.ed__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4b5563;
  flex-wrap: wrap;
}

.ed__crumb a {
  color: #4b5563;
}

.ed__crumb em {
  font-style: normal;
  color: var(--green);
}

.ed__bar-tools {
  display: flex;
  gap: 8px;
}

.ed__bar-tools a,
.ed__bar-tools button {
  height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: #e3f9ed;
  color: #006a3f;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.ed__hero {
  display: grid;
  grid-template-columns: 288px 1fr;
  gap: 40px;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin: 24px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ed__photo {
  position: relative;
  width: 288px;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  background: #ddf3e8;
}

.ed__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.ed__photo-tags {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ed__photo-tags span {
  display: inline-flex;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 20px;
  color: #fff;
  background: #006a3f;
}

.ed__photo-tags span:last-child {
  background: rgba(255, 255, 255, 0.9);
  color: #006a3f;
}

.ed__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.ed__meta div {
  background: #e3f9ed;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.ed__meta small {
  display: block;
  font-size: 12px;
  color: #9ca3af;
}

.ed__meta b {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #1f2937;
}

.ed__hero h1 {
  font-size: 36px;
  font-weight: 500;
  color: #1f2937;
  letter-spacing: -0.9px;
  line-height: 44px;
}

.ed__role {
  margin-top: 8px;
  font-size: 14px;
  color: #006a3f;
}

.ed__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.ed__pills span {
  height: 28px;
  padding: 0 12px;
  border-radius: 9999px;
  background: #d7ede2;
  color: #3e4a41;
  font-size: 14px;
  line-height: 28px;
}

.ed__pills span.is-strong {
  background: #008651;
  color: #f6fff5;
}

.ed__dept {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5faf7;
  border-radius: 12px;
  padding: 16px;
  font-size: 12px;
  color: #1f2937;
}

.ed__dept em {
  display: inline-block;
  margin-left: 8px;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: #006a3f;
  color: #fff;
  font-style: normal;
  line-height: 22px;
}

.ed__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.ed__stats article {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.ed__stats small {
  color: #9ca3af;
  font-size: 12px;
}

.ed__stats strong {
  display: block;
  margin: 4px 0;
  font-size: 28px;
  color: #006a3f;
  line-height: 36px;
}

.ed__stats p {
  font-size: 11px;
  color: #4b5563;
}

.ed__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
}

.ed-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.ed-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ed-card__head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: #1f2937;
}

.ed-card__head h2::before {
  content: "";
  width: 10px;
  height: 24px;
  border-radius: 9999px;
  background: #006a3f;
}

.ed-card__head em {
  font-style: normal;
  font-size: 12px;
  color: #9ca3af;
  letter-spacing: 0.6px;
  margin-left: 8px;
}

.ed-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ed-spec article {
  background: #f5faf7;
  border-radius: 12px;
  padding: 16px;
  position: relative;
}

.ed-spec b {
  display: block;
  font-size: 20px;
  color: #006a3f;
  margin-bottom: 8px;
}

.ed-spec h3 {
  font-size: 14px;
  color: #006a3f;
  margin-bottom: 8px;
}

.ed-spec p {
  font-size: 12px;
  line-height: 19.5px;
  color: #4b5563;
}

.ed-tip {
  margin-top: 16px;
  background: rgba(232, 245, 238, 0.6);
  border-radius: 12px;
  padding: 16px;
  font-size: 12px;
  line-height: 19.5px;
  color: #4b5563;
}

.ed-tip strong {
  display: block;
  color: #006a3f;
  margin-bottom: 4px;
}

.ed-bio p {
  font-size: 14px;
  line-height: 26px;
  color: #1f2937;
  margin-bottom: 12px;
}

.ed-quote {
  margin-top: 16px;
  background: #e3f9ed;
  border-radius: 12px;
  padding: 16px 20px;
}

.ed-quote p {
  color: #053e31;
  font-size: 14px;
}

.ed-quote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  color: #006a3f;
}

.ed-sch {
  background: rgba(227, 249, 237, 0.5);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
}

.ed-sch__day {
  background: #fff;
  border-radius: 12px;
  width: 56px;
  height: 56px;
  text-align: center;
  padding-top: 8px;
}

.ed-sch__day small {
  display: block;
  font-size: 11px;
  color: #9ca3af;
}

.ed-sch__day b {
  color: #006a3f;
  font-size: 16px;
}

.ed-sch h3 {
  font-size: 16px;
  color: #1f2937;
}

.ed-sch span {
  display: inline-block;
  margin: 4px 8px 0 0;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(0, 106, 63, 0.1);
  color: #006a3f;
  font-size: 12px;
  line-height: 20px;
}

.ed-sch p {
  margin-top: 6px;
  font-size: 12px;
  color: #4b5563;
}

.ed-sch a {
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  background: #006a3f;
  color: #fff;
  font-size: 12px;
  line-height: 32px;
  white-space: nowrap;
}

.ed-honors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ed-honors article {
  background: #f5faf7;
  border-radius: 12px;
  padding: 16px;
}

.ed-honors h3 {
  font-size: 16px;
  color: #1f2937;
  margin-bottom: 12px;
}

.ed-side__link {
  display: inline-block;
  margin-top: 12px;
  color: #006a3f;
  font-size: 12px;
}

.ed-peers__more {
  color: #006a3f;
  font-size: 12px;
}

.ed-honors ul {
  list-style: none;
}

.ed-honors li {
  font-size: 12px;
  line-height: 18px;
  color: #4b5563;
  margin-bottom: 10px;
  padding-left: 12px;
  position: relative;
}

.ed-honors li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #006a3f;
}

.ed-paper {
  margin-bottom: 16px;
}

.ed-paper h3 {
  font-size: 14px;
  color: #1f2937;
  margin-bottom: 6px;
}

.ed-paper p {
  font-size: 13px;
  line-height: 22px;
  color: #4b5563;
}

.ed-side article {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
}

.ed-side h3 {
  font-size: 14px;
  color: #1f2937;
  margin-bottom: 8px;
}

.ed-side p {
  font-size: 12px;
  line-height: 19.5px;
  color: #4b5563;
}

.ed-tel {
  margin: 12px 0;
  background: #e3f9ed;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #006a3f;
  font-weight: 700;
}

.ed-alert {
  background: rgba(255, 218, 214, 0.4);
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  line-height: 16px;
  color: #3e4a41;
}

.ed-side img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 0;
}

.ed-side__nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ed-side__nums div {
  background: #f5faf7;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}

.ed-side__nums small {
  display: block;
  font-size: 12px;
  color: #9ca3af;
}

.ed-peers {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-top: 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.ed-peers__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ed-peers__head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.ed-peers__head h2::before {
  content: "";
  width: 10px;
  height: 24px;
  border-radius: 9999px;
  background: #006a3f;
}

.ed-peers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ed-peer {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  background: #e3f9ed;
  border-radius: 12px;
  padding: 16px;
  color: inherit;
}

.ed-peer img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.ed-peer strong {
  font-size: 16px;
  color: #053e31;
}

.ed-peer span {
  float: right;
  font-size: 12px;
  color: #006a3f;
}

.ed-peer p {
  font-size: 12px;
  color: #4b5563;
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .ed__hero,
  .ed__layout,
  .ed-spec,
  .ed-honors,
  .ed-peers__grid,
  .ed__stats {
    grid-template-columns: 1fr;
  }

  .ed__photo {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ed {
    padding-bottom: 40px;
  }

  .ed__bar .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0 12px;
    min-height: 0;
  }

  .ed__bar-tools {
    width: 100%;
    flex-wrap: wrap;
  }

  .ed__bar-tools a,
  .ed__bar-tools button {
    min-height: 36px;
    height: 36px;
  }

  .ed__hero {
    padding: 20px 16px;
    margin: 16px 0;
    gap: 20px;
  }

  .ed__photo {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 360px;
  }

  .ed__hero h1 {
    font-size: 26px;
    line-height: 34px;
    letter-spacing: 0;
  }

  .ed-sch {
    grid-template-columns: 56px 1fr;
  }

  .ed-sch a {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 40px;
    height: 40px;
    line-height: 40px;
  }

  .ed-peer {
    grid-template-columns: 56px 1fr;
  }
}

@media (max-width: 480px) {
  .ed__hero h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .ed__pills span {
    height: auto;
    min-height: 28px;
    line-height: 20px;
    padding: 4px 10px;
  }
}

@media print {
  .topbar, .header, .nav, .footer, .ed__bar-tools { display: none !important; }
}
