.zh-cms-service .site-header {
  position: sticky;
  z-index: 100;
}

html[lang="zh-Hant"] body.zh-cms-service .page-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(245, 249, 253, 0.99) 0%,
      rgba(245, 249, 253, 0.92) 34%,
      rgba(245, 249, 253, 0.35) 64%,
      rgba(7, 31, 59, 0.16) 100%
    ),
    var(--service-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.zh-cms-service .page-hero-copy h1 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.05;
}

.cms-specialty-explorer {
  margin-block: 52px;
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(var(--brand-rgb), 0.06);
}

.cms-specialty-explorer .specialty-reset.is-active {
  color: var(--muted);
  border-color: var(--line);
  background: #fff;
}

.cms-specialty-explorer .specialty-reset:hover {
  color: var(--brand-700);
  border-color: rgba(var(--brand-rgb), 0.32);
  background: var(--brand-soft);
}

.cms-specialty-choices .specialty-choice {
  width: 100%;
  min-height: 72px;
  padding: 11px 32px 11px 12px;
}

.cms-specialty-choices .specialty-name {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.cms-specialty-panel[hidden] {
  display: none;
}

.cms-specialty-panel {
  animation: cms-specialty-reveal 0.28s ease both;
}

.cms-specialty-panel .specialty-detail-heading-main > div:first-child {
  flex: 0 0 auto;
  max-width: 360px;
}

.cms-specialty-panel .specialty-detail-summary {
  max-width: 580px;
}

.cms-specialty-panel .specialty-condition-links a {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-specialty-empty {
  color: var(--muted);
  font-size: 12px;
}

@keyframes cms-specialty-reveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zh-site-header .nav-actions details[open] {
  z-index: 120;
}

.zh-site-header .nav-actions details[open] > summary {
  color: #fff;
  border-color: var(--brand-700);
  background: var(--brand-700);
}

.zh-site-header .blue-search-form,
.zh-site-header .blue-language .language-menu {
  top: calc(100% + 10px);
  z-index: 130;
}

.zh-site-header .blue-language .language-menu {
  padding: 8px;
}

.zh-cms-service .hospital-info > p,
.zh-cms-service .expert-bio,
.zh-cms-service .care-news-card > p,
.zh-cms-service .directory-case-content > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cms-service-hospitals {
  align-items: stretch;
}

.cms-service-hospitals .cms-hospital-card,
.cms-service-hospitals .cms-hospital-card > a {
  height: 100%;
}

.cms-service-hospitals .cms-hospital-card > a {
  display: flex;
  flex-direction: column;
}

.cms-service-hospitals .hospital-cover {
  flex: 0 0 195px;
}

.cms-service-hospitals .hospital-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 20px 18px;
}

.cms-service-hospitals .cms-hospital-copy > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cms-service-hospitals .cms-hospital-copy > h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.zh-cms-service .hospital-info h3,
.zh-cms-service .care-news-card h3,
.zh-cms-service .directory-case-content h2,
.zh-cms-service .expert-role {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.zh-cms-service .hospital-list article,
.zh-cms-service .hospital-list article > a,
.zh-cms-service .care-news-card,
.zh-cms-service .directory-case-card,
.zh-cms-service .directory-case-content,
.zh-cms-service .directory-expert-card,
.zh-cms-service .directory-expert-card * {
  min-width: 0;
}

.cms-hospital-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: auto 0 0;
  padding-top: 14px;
}

.cms-hospital-facts > div {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.cms-hospital-facts dt,
.cms-hospital-facts dd {
  margin: 0;
}

.zh-cms-service #hospitals .cms-hospital-more > a,
.zh-cms-service #hospitals .cms-hospital-more > button {
  color: #fff !important;
  border-color: #4d9de3;
  background: #2679c3;
  box-shadow: 0 10px 24px rgba(2, 17, 35, 0.22);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.zh-cms-service #hospitals .cms-hospital-more > a:hover,
.zh-cms-service #hospitals .cms-hospital-more > button:hover {
  color: #fff !important;
  border-color: #74b9f1;
  background: #155f9f;
  transform: translateY(-2px);
}

.cms-hospital-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.cms-hospital-facts dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.zh-cms-service .directory-case-card {
  min-height: 300px;
}

.zh-cms-service .directory-case-image {
  min-height: 300px;
}

.zh-cms-service .directory-case-content > p {
  flex: 0 0 auto;
  line-height: 1.8;
}

.zh-cms-service .care-news-card > p,
.zh-cms-service .service-team-card p,
.zh-cms-service .care-reason-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cms-service-doctors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cms-service-doctors .cms-doctor-card {
  min-height: 0;
  padding: 20px;
}

.cms-service-doctors .cms-doctor-head {
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.cms-service-doctor-photo {
  border-radius: 14px;
  height: 132px;
  object-fit: cover;
  object-position: center top;
  width: 108px;
}

.cms-service-doctors .expert-avatar.cms-service-doctor-photo {
  display: grid;
  place-items: center;
}

.cms-doctor-summary {
  min-width: 0;
}

.cms-service-doctors .expert-name-row {
  align-items: center;
}

.cms-service-doctors .expert-name-row h2 {
  min-width: 0;
}

.cms-service-doctors .expert-name-row h2 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cms-service-doctors .expert-verified {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.cms-service-doctors .expert-verified svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cms-doctor-tags {
  display: flex;
  max-height: none;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  overflow: visible;
}

.cms-doctor-tags span {
  max-width: 100%;
  padding: 5px 8px;
  overflow: hidden;
  border-radius: 999px;
  color: var(--brand-700);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-service-doctors .expert-bio {
  display: -webkit-box;
  min-height: 0;
  margin: 14px 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cms-service-doctors .cms-doctor-hospital {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  margin-top: auto;
}

.cms-service-doctors .cms-doctor-hospital img,
.cms-service-doctors .cms-doctor-hospital .expert-hospital-placeholder {
  width: 48px;
  height: 48px;
}

.cms-service-doctors .cms-doctor-hospital strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.zh-cms-service .expert-role,
.zh-cms-service .expert-bio {
  font-size: max(12px, 0.9rem);
}

@media (max-width: 980px) {
  .cms-service-doctors {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .cms-specialty-explorer {
    margin-block: 28px;
    padding: 24px 16px 18px;
    border-radius: 18px;
  }

  .cms-specialty-panel .specialty-detail-heading-main > div:first-child {
    max-width: none;
  }

  .cms-service-doctors {
    grid-template-columns: 1fr;
  }

  .zh-cms-service .page-hero-copy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .zh-cms-service .directory-case-image {
    min-height: 220px;
  }
}

.cms-shared-team .page-heading, #service-process .page-heading { display: block; max-width: 1100px; }
.cms-shared-team .page-heading h2, #service-process .page-heading h2 { max-width: 1100px; }
