.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

.detail-cover {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--clinic);
  margin-bottom: 30px;
}

.detail-cover img {
  width: 100%;
  height: auto;
}

.content-body {
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
}

.content-body h2,
.content-body h3 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.3;
  margin: 1.6em 0 .75em;
}

.content-body p,
.content-body ul,
.content-body ol {
  margin: 0 0 1em;
}

.content-body ul,
.content-body ol {
  padding-left: 1.35em;
}

.detail-side {
  position: sticky;
  top: 96px;
}

.article-wrap {
  max-width: 920px;
}

.video-embed {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: #071821;
  aspect-ratio: 16 / 9;
  margin-bottom: 30px;
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 老站搬来的竖版视频不裁切，两侧留深色底 */
.video-embed video {
  object-fit: contain;
  background: #071821;
}

@media (max-width: 980px) {
  .detail-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }
}

.video-card .vwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.contact-grid .contact-card,
.detail-side .contact-card {
  display: block;
  padding: 42px 38px;
  color: #fff;
}

.contact-grid .contact-card .btn,
.detail-side .contact-card .btn {
  margin-top: 18px;
}
.btn-line {
  color: var(--teal);
  background: rgba(14, 143, 156, .08);
  border: 1px solid rgba(14, 143, 156, .18);
  box-shadow: none;
}

.btn-line:hover {
  background: rgba(14, 143, 156, .13);
  transform: translateY(-2px);
}

.product-breadcrumb-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 54px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.product-breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.product-breadcrumb li + li::before {
  content: '>';
  margin-right: 8px;
  color: #b8c5cb;
  font-size: 12px;
}

.product-breadcrumb a {
  color: #7a8b94;
  transition: color .2s var(--ease);
}

.product-breadcrumb a:hover {
  color: var(--teal);
}

.product-breadcrumb [aria-current="page"] {
  max-width: min(560px, 100%);
  overflow: hidden;
  color: var(--heading);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-detail-shell {
  background: linear-gradient(180deg, #fff 0%, var(--clinic) 48%, #fff 100%);
  padding: 56px 0 96px;
}

.product-detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}

.product-media-panel,
.product-summary-panel,
.product-detail-main,
.product-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.product-media-panel {
  overflow: hidden;
}

.product-media-main {
  min-height: clamp(360px, 34vw, 560px);
  display: grid;
  place-items: center;
  padding: clamp(32px, 4vw, 72px);
  background: radial-gradient(circle at 50% 44%, rgba(14, 143, 156, .09), transparent 46%), linear-gradient(150deg, #fff, #eef4f6);
}

.product-media-main img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
}


.product-summary-panel {
  position: relative;
  min-height: 100%;
  padding: clamp(34px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-summary-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--teal), var(--glow));
}

.product-summary-head {
  position: relative;
  padding-bottom: 18px;
}

.product-summary-head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(14, 143, 156, 0));
}

.product-summary-panel h2 {
  font-family: var(--font-display);
  color: var(--heading);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.22;
  font-weight: 700;
  margin: 0;
}

.product-published {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.product-published::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 143, 156, .1);
}


.product-intro {
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(225, 231, 235, .9);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8fbfc);
  color: var(--text);
  font-size: 15px;
  line-height: 1.85;
}

.product-summary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--clinic);
  color: var(--text);
  font-size: 14px;
}

.product-summary-meta span {
  flex: 0 0 auto;
  color: var(--muted);
}

.product-summary-meta strong {
  color: var(--heading);
  font-weight: 650;
  text-align: right;
}


.product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}

.product-actions .btn {
  justify-content: center;
  width: 148px;
  min-height: 46px;
  padding: 12px 18px;
  font-size: 14px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
  margin-top: 36px;
}

.product-detail-main {
  padding: clamp(30px, 4vw, 56px);
}

.product-feature-main {
  position: relative;
  grid-column: 1 / 2;
  overflow: hidden;
}

.product-feature-main::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal), rgba(52, 198, 198, .18));
}

.product-feature-body {
  padding: 2px 0 0;
}

.detail-section-head {
  margin-bottom: 24px;
}

.detail-section-head h2 {
  font-family: var(--font-display);
  color: var(--heading);
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.2;
  margin: 14px 0 0;
}

.product-content-body {
  max-width: 920px;
}

.product-detail-side {
  position: sticky;
  top: 96px;
}

.product-side-card {
  padding: 34px 30px;
}

.product-side-card h3 {
  font-family: var(--font-display);
  color: var(--heading);
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 14px;
}

.product-side-card > p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 22px;
}

.side-field {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.side-field span {
  display: block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 7px;
}

.side-field p {
  color: var(--text);
  line-height: 1.75;
  margin: 0;
}

.product-side-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}

.related-products {
  margin-top: 72px;
}

.sec-head.compact {
  margin-bottom: 28px;
}

@media (max-width: 1100px) {
  .product-detail-overview,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-side {
    position: static;
  }

  .product-feature-main {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .product-breadcrumb {
    min-height: auto;
    padding: 14px 0;
    font-size: 13px;
  }

  .product-breadcrumb [aria-current="page"] {
    max-width: 100%;
    white-space: normal;
  }

  .product-detail-shell {
    padding: 38px 0 72px;
  }

  .product-summary-panel,
  .product-detail-main,
  .product-side-card {
    padding: 26px 22px;
  }

  .product-summary-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .product-summary-meta strong {
    text-align: left;
  }


  .product-media-main {
    min-height: 300px;
    padding: 26px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-actions .btn {
    width: 100%;
  }


}
.product-media-carousel {
  position: relative;
}

.product-media-main {
  --tooltip-x: 50%;
  --tooltip-y: 42%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.product-media-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(30px, 4vw, 68px);
  opacity: 0;
  transform: translateX(18px) scale(.985);
  transition: opacity .36s var(--ease), transform .36s var(--ease);
  pointer-events: none;
}

.product-media-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.product-media-slide img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
  user-select: none;
}

.product-media-caption {
  position: absolute;
  z-index: 6;
  left: var(--tooltip-x);
  top: var(--tooltip-y);
  max-width: min(320px, calc(100% - 32px));
  padding: 5px 9px;
  border: 1px solid rgba(16, 24, 32, .38);
  border-radius: 2px;
  background: rgba(255, 255, 255, .96);
  color: #111827;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 10px));
  transition: opacity .14s ease, transform .14s ease;
  box-shadow: 0 8px 18px rgba(12, 35, 48, .12);
  pointer-events: none;
  white-space: normal;
}

.product-media-main:hover .product-media-slide.is-active .product-media-caption,
.product-media-main:focus-within .product-media-slide.is-active .product-media-caption {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 6px));
}

.product-media-zoom {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 7;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: rgba(167, 174, 181, .72);
  cursor: pointer;
}

.product-media-zoom span {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.product-media-zoom span::before,
.product-media-zoom span::after {
  content: '';
  position: absolute;
  background: #fff;
}

.product-media-zoom span::before {
  left: 3px;
  right: 3px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.product-media-zoom span::after {
  top: 3px;
  bottom: 3px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.product-media-zoom::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 2px;
  right: 6px;
  bottom: 7px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: center;
}

.product-carousel-strip {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  padding: 14px 0 0;
  background: #fff;
}

.product-carousel-thumbs {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  padding: 0 2px 2px;
}

.product-carousel-thumb {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}

.product-carousel-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-carousel-thumb.is-active {
  border-color: #f23a45;
}

.product-carousel-btn {
  width: 36px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.product-carousel-btn:hover {
  color: var(--teal);
  background: transparent;
}
@media (max-width: 620px) {
  .product-media-slide {
    padding: 24px;
  }

  .product-media-caption {
    max-width: calc(100% - 28px);
    font-size: 12px;
  }

  .product-carousel-strip {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 8px;
    padding-top: 12px;
  }

  .product-carousel-thumb {
    width: 40px;
    height: 40px;
  }

  .product-carousel-btn {
    width: 30px;
    height: 40px;
    font-size: 28px;
  }
}
.news-detail-shell {
  background: linear-gradient(180deg, #fff 0%, var(--clinic) 44%, #fff 100%);
  padding: 64px 0 96px;
}

.news-detail-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: clamp(34px, 5vw, 68px);
}

.news-detail-head {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 24px;
}

.news-detail-head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(14, 143, 156, 0));
}

.news-detail-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.news-detail-date::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 143, 156, .1);
}

.news-detail-head h1 {
  max-width: 820px;
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.news-detail-content {
  max-width: 820px;
}

.news-detail-content > *:first-child {
  margin-top: 0;
}

.news-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.news-detail-content .wp-block-image {
  margin: 30px 0;
}

.news-detail-content .wp-block-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.news-detail-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.news-detail-content .alignwide,
.news-detail-content .alignfull {
  max-width: 100%;
}

@media (max-width: 620px) {
  .news-detail-shell {
    padding: 44px 0 72px;
  }

  .news-detail-article {
    padding: 28px 22px;
  }

  .news-detail-head {
    margin-bottom: 24px;
  }
}