/* November 19: targeted navigation, team and specialist-service corrections. */
.hero-history {
  max-width: 730px;
  margin: 0 0 28px;
  color: #ffffffd9;
  font-size: 14px;
  line-height: 1.9;
}
#navLinks .dd { transition: none; }
#navLinks .dd a { color: #1b2430; opacity: 1; visibility: inherit; }
#navLinks .dd a:hover, #navLinks .dd a:focus-visible { color: #1d4f87; background: #eaf1f8; }
.team-grid { align-items: stretch; }
.team-card {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  align-items: start;
  gap: 24px;
}
.team-card .team-photo {
  width: 150px;
  height: 225px;
  min-width: 0;
  object-fit: contain;
  border-radius: 12px;
}
.team-card .team-info { min-width: 0; width: 100%; text-align: left; }
.team-card .team-info p { line-height: 1.9; overflow-wrap: break-word; }
.dd-photo[data-category="服务展示"] img { object-fit: contain; background: #f1f4f8; }
.specialty-breadcrumb { padding-top: 16px; padding-bottom: 16px; color: var(--muted); font-size: 13px; }
.specialty-breadcrumb a:hover, .specialty-back a { color: var(--acc-d); }
.specialty-page .hero h1 { max-width: 1000px; font-size: clamp(28px,3.5vw,46px); line-height: 1.4; }
.specialty-page .hero-sub { max-width: 900px; }
.specialty-page .hero-plain { max-width: 880px; }
.specialty-page .specialty-section { padding: 76px 0; }
.specialty-page #quick { padding: 48px 0; }
.specialty-page .specialty-light { background: var(--light); }
.specialty-page .tldr-box { padding: 30px 34px; }
.specialty-page .tldr-box > p { margin: 14px 0 18px; }
.specialty-page .tldr-list { margin: 0; }
.specialty-page .tldr-list li { font-size: 14px; line-height: 1.9; }
.specialty-overview { margin: 0 0 30px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.specialty-overview h2 { color: var(--pri); font-size: 21px; margin-bottom: 12px; }
.specialty-overview p { color: var(--muted); max-width: 1000px; margin-bottom: 14px; }
.specialty-overview .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.specialty-overview .tags span { background: #eaf1f8; color: var(--acc-d); padding: 4px 11px; border-radius: 999px; font-size: 12px; }
.specialty-page .svc-card { min-width: 0; }
.specialty-page .svc-icon { font-family: var(--sans); color: var(--gold-soft); }
.specialty-page .svc-card p { line-height: 1.9; }
.specialty-page .proc-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.specialty-page .proc-step { min-width: 0; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.specialty-page .proc-step::after { display: none; }
.specialty-page .proc-step p { line-height: 1.85; }
.specialty-page .price-note { max-width: none; margin: 20px 0 0; line-height: 1.9; }
.specialty-page .service-table-wrap { margin: 28px 0 18px; border-radius: 16px; border: 1px solid var(--border); }
.specialty-page .service-table-wrap table { min-width: 680px; }
.specialty-page .service-table-wrap th { background: var(--pri); color: #fff; }
.specialty-page .service-table-wrap th, .specialty-page .service-table-wrap td { padding: 17px 20px; vertical-align: top; line-height: 1.85; }
.specialty-page .service-table-wrap tr:nth-child(even) { background: var(--light); }
.specialty-page .why-card { min-width: 0; }
.specialty-page #why { background: var(--pri); color: #fff; }
.specialty-page #why .sec-title { color: #fff; }
.specialty-page #why .sec-tag { color: var(--gold-soft); }
.specialty-page .why-num { font-family: var(--sans); font-size: clamp(23px,2.4vw,32px); overflow-wrap: anywhere; }
.specialty-page .faq-a { line-height: 1.9; }
.specialty-cta-list { display: inline-block; text-align: left; padding-left: 22px; color: #ffffffd9; margin: 0 0 20px; }
.specialty-back { padding-top: 24px; padding-bottom: 24px; }
@media (min-width: 901px) {
  #navLinks .has-dd > .dd { visibility: hidden; opacity: 0; }
  #navLinks .has-dd:hover > .dd,
  #navLinks .has-dd.open > .dd { visibility: visible; opacity: 1; transform: translateX(-50%); }
}
@media (min-width: 681px) and (max-width: 1100px) {
  .team-card { grid-template-columns: 115px minmax(0,1fr); gap: 16px; padding: 22px; }
  .team-card .team-photo { width: 115px; height: 180px; }
}
@media (max-width: 900px) {
  /* Override the more specific desktop :hover transform on touch and narrow screens. */
  #navLinks .has-dd > .dd,
  #navLinks .has-dd:hover > .dd,
  #navLinks .has-dd:focus-within > .dd,
  #navLinks .has-dd.open > .dd {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    min-width: 0;
    max-height: none;
    transform: none;
    visibility: visible;
    opacity: 1;
    overflow: visible;
    display: none;
    padding: 8px 16px 12px;
    border-radius: 0;
  }
  #navLinks .has-dd.open > .dd { display: block; }
  #navLinks .dd a { padding: 10px 16px; white-space: normal; line-height: 1.6; }
  .specialty-page .specialty-section { padding: 56px 0; }
  .specialty-page .proc-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .team-card { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .team-card .team-photo { width: 100%; height: 280px; }
  .team-card .team-info { text-align: left; }
  .specialty-page .tldr-box { padding: 24px 20px; }
  .specialty-page .proc-steps { grid-template-columns: 1fr; }
  .specialty-page .hero h1 { font-size: 28px; }
  .specialty-page .specialty-section { padding: 48px 0; }
  .specialty-page .sec-sub { font-size: 14px; }
}
