:root {
  --profile-green: #064a45;
  --profile-deep: #2c4c47;
  --profile-ink: #241512;
  --profile-muted: #665f58;
  --profile-beige: #e1dcd6;
  --profile-paper: #f7f8f8;
  --profile-mist: #eef5f2;
  --profile-gold: #d3a38c;
  --profile-line: rgba(6, 74, 69, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--profile-ink);
  background: var(--profile-paper);
  font-family: var(--omni-font-base), "Noto Serif TC", serif;
}

.doctor-profile {
  overflow: hidden;
}

.doctor-profile a {
  color: inherit;
}

.doctor-profile__wrap {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-right: 40px;
  padding-left: 40px;
}

.doctor-breadcrumb {
  padding: 126px 0 22px;
  color: var(--profile-muted);
  font-size: 14px;
  line-height: 1.6;
}

.doctor-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor-breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
  color: rgba(102, 95, 88, 0.55);
}

.doctor-breadcrumb a {
  text-underline-offset: 4px;
}

.doctor-hero {
  padding: 0 0 76px;
}

.doctor-hero__card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--profile-line);
  border-radius: 0 56px 0 0;
  background: #fff;
  box-shadow: 0 24px 64px rgba(6, 74, 69, 0.08);
}

.doctor-hero__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 72px 66px;
}

.doctor-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--profile-gold);
  font-family: var(--omni-font-accent), "Cormorant", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doctor-hero__specialty {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(6, 74, 69, 0.34);
  border-radius: 999px;
  color: var(--profile-green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.doctor-hero h1 {
  margin: 0;
  color: var(--profile-green);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.06em;
}

.doctor-hero__role {
  margin: 18px 0 0;
  color: var(--profile-deep);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.doctor-hero__summary {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--profile-muted);
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.doctor-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.doctor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid var(--profile-green);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.doctor-button:hover,
.doctor-button:focus-visible {
  transform: translateY(-2px);
}

.doctor-button--primary {
  color: #fff !important;
  background: var(--profile-green);
}

.doctor-button--secondary {
  color: var(--profile-green) !important;
  background: transparent;
}

.doctor-hero__photo {
  min-height: 590px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.72), transparent 18%),
    linear-gradient(145deg, #174f4b 0%, #78918d 52%, #e7e0d4 100%);
}

.doctor-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.doctor-main {
  padding: 10px 0 110px;
}

.doctor-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 54px;
  align-items: start;
}

.doctor-sections {
  display: grid;
  gap: 26px;
}

.doctor-section {
  padding: 38px 40px;
  border: 1px solid var(--profile-line);
  background: #fff;
}

.doctor-section h2 {
  margin: 0 0 24px;
  color: var(--profile-green);
  font-size: 28px;
  line-height: 1.4;
}

.doctor-section h2::after {
  display: block;
  width: 76px;
  height: 1px;
  margin-top: 14px;
  content: "";
  background: var(--profile-gold);
}

.doctor-section p {
  margin: 0;
  color: var(--profile-muted);
  font-size: 16px;
  line-height: 1.95;
}

.doctor-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor-list li {
  position: relative;
  padding-left: 22px;
  color: var(--profile-ink);
  font-size: 16px;
  line-height: 1.8;
}

.doctor-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--profile-gold);
}

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

.doctor-service-card {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--profile-line);
  color: var(--profile-green) !important;
  background: var(--profile-mist);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  transition: transform 0.25s, border-color 0.25s;
}

.doctor-service-card::after {
  content: "了解更多 →";
  color: var(--profile-muted);
  font-size: 13px;
  font-weight: 500;
}

.doctor-service-card:hover,
.doctor-service-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(6, 74, 69, 0.42);
}

.doctor-aside {
  position: sticky;
  top: 122px;
  padding: 30px;
  color: #fff;
  background: var(--profile-deep);
}

.doctor-aside__eyebrow {
  margin: 0 0 10px;
  color: var(--profile-gold);
  font-family: var(--omni-font-accent), "Cormorant", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.doctor-aside h2 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.45;
}

.doctor-aside p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.85;
}

.doctor-aside .doctor-button {
  width: 100%;
  margin-top: 24px;
  border-color: var(--profile-beige);
  color: var(--profile-deep) !important;
  background: var(--profile-beige);
}

.doctor-aside__back {
  display: inline-block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9) !important;
  text-underline-offset: 4px;
  font-size: 14px;
}

.doctor-note {
  margin-top: 18px !important;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 12px !important;
}

@media (max-width: 1024px) {
  .doctor-hero__card {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .doctor-hero__content {
    padding: 54px 42px;
  }

  .doctor-main__grid {
    grid-template-columns: 1fr;
  }

  .doctor-aside {
    position: static;
  }
}

@media (max-width: 768px) {
  .doctor-profile ~ #link-btnbox-root .omni-btnbox {
    display: none;
  }

  .doctor-profile__wrap {
    padding-right: 16px;
    padding-left: 16px;
  }

  .doctor-breadcrumb {
    padding-top: 82px;
  }

  .doctor-hero {
    padding-bottom: 52px;
  }

  .doctor-hero__card {
    display: flex;
    min-height: 0;
    flex-direction: column-reverse;
    border-radius: 0 28px 0 0;
  }

  .doctor-hero__photo {
    min-height: 0;
    aspect-ratio: 4 / 4.7;
  }

  .doctor-hero__content {
    padding: 34px 24px 38px;
  }

  .doctor-hero__eyebrow {
    font-size: 15px;
  }

  .doctor-hero h1 {
    font-size: 38px;
  }

  .doctor-hero__role {
    font-size: 20px;
  }

  .doctor-hero__summary {
    font-size: 15px;
  }

  .doctor-hero__actions,
  .doctor-hero__actions .doctor-button {
    width: 100%;
  }

  .doctor-main {
    padding-bottom: 80px;
  }

  .doctor-main__grid {
    gap: 28px;
  }

  .doctor-section {
    padding: 28px 22px;
  }

  .doctor-section h2 {
    font-size: 24px;
  }

  .doctor-list li,
  .doctor-section p {
    font-size: 15px;
  }

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

@media (max-width: 575px) {
  .doctor-hero h1 {
    font-size: 34px;
  }

  .doctor-button {
    padding-right: 18px;
    padding-left: 18px;
  }
}
