.service-detail-page {
    --service-detail-header-height: 60px;
    --service-detail-page-min-height: 927px;
    --service-detail-sticky-top: 84px;
    --service-detail-tabs-sticky-top: var(--service-detail-sticky-top);
    min-height: var(--service-detail-page-min-height);
    padding: 84px 0 72px;
    background: #f3f3f3;
}

.ghg-header {
    background: #fff;
}

.service-detail-page::before {
    content: "";
    position: fixed;
    top: var(--service-detail-header-height);
    right: 0;
    left: 0;
    z-index: 6;
    height: calc(var(--service-detail-sticky-top) - var(--service-detail-header-height));
    background: #f3f3f3;
    pointer-events: none;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 240px 848px;
    column-gap: 40px;
    align-items: start;
    width: 1136px;
    margin: 0 auto;
}

.service-detail-sidebar {
    position: sticky;
    top: var(--service-detail-sticky-top);
    z-index: 4;
    width: 240px;
    min-height: min(645px, calc(100vh - var(--service-detail-sticky-top) - 24px));
    height: auto;
    overflow: visible;
    border-radius: 12px;
    background: #fff;
}

.service-detail-sidebar__title {
    height: 67px;
    margin: 0;
    padding: 25px 24px 0;
    border-bottom: 1px solid #e6e6e6;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.service-detail-sidebar__list {
    padding: 18px 24px 28px;
}

.service-detail-sidebar__group + .service-detail-sidebar__group {
    margin-top: 24px;
}

.service-detail-sidebar__category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 22px;
    padding: 0;
    border: 0;
    color: #222;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease;
}

.service-detail-sidebar__category span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-detail-sidebar__category i {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-left: 12px;
}

.service-detail-sidebar__category i::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 4px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #666;
    border-bottom: 1.5px solid #666;
    transform: rotate(-45deg);
    transform-origin: center;
    transition: top .26s cubic-bezier(.2, .7, .25, 1), border-color .2s ease, transform .26s cubic-bezier(.2, .7, .25, 1);
}

.service-detail-sidebar__category.is-active {
    color: #222;
}

.service-detail-sidebar__category.is-active i::before {
    top: 3px;
    border-color: #10bf73;
    transform: rotate(45deg);
}

.service-detail-sidebar__children {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition:
        grid-template-rows .28s cubic-bezier(.2, .7, .25, 1),
        opacity .2s ease,
        transform .28s cubic-bezier(.2, .7, .25, 1),
        visibility 0s linear .28s;
}

.service-detail-sidebar__group.is-open .service-detail-sidebar__children {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s, 0s, 0s, 0s;
}

.service-detail-sidebar__children-inner {
    min-height: 0;
    overflow: hidden;
    padding-top: 0;
    transition: padding-top .28s cubic-bezier(.2, .7, .25, 1);
}

.service-detail-sidebar__group.is-open .service-detail-sidebar__children-inner {
    padding-top: 18px;
}

.service-detail-sidebar__child {
    display: block;
    overflow: hidden;
    height: 42px;
    padding: 0 12px 0 16px;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    line-height: 42px;
    text-overflow: ellipsis;
    transform: translateY(-4px);
    opacity: 0;
    white-space: nowrap;
    transition:
        color .18s ease,
        background .18s ease,
        opacity .22s ease,
        transform .24s cubic-bezier(.2, .7, .25, 1);
}

.service-detail-sidebar__group.is-open .service-detail-sidebar__child {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0s, 0s, var(--detail-child-delay, 0s), var(--detail-child-delay, 0s);
}

.service-detail-sidebar__child + .service-detail-sidebar__child {
    margin-top: 0;
}

.service-detail-sidebar__child:hover {
    color: #18ad56;
    background: #f4fbf7;
}

.service-detail-sidebar__child.is-active {
    color: #0f8f46;
    background: #eaf8ef;
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .service-detail-sidebar__category,
    .service-detail-sidebar__category i::before,
    .service-detail-sidebar__children,
    .service-detail-sidebar__children-inner,
    .service-detail-sidebar__child {
        transition: none;
    }
}

.service-detail-main {
    width: 848px;
}

.service-detail-intro {
    width: 848px;
    margin-bottom: 16px;
}

.service-breadcrumb {
    display: flex;
    align-items: center;
    height: 20px;
    color: #666;
    font-size: 14px;
    line-height: 20px;
}

.service-breadcrumb a,
.service-breadcrumb span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-breadcrumb span {
    color: #222;
}

.service-breadcrumb img {
    width: 18px;
    height: 18px;
    margin: 1px 2px 0;
    object-fit: contain;
}

.service-detail-hero {
    width: 848px;
    height: 168px;
    margin-top: 14px;
    padding: 30px 40px 0;
    overflow: hidden;
    border-radius: 12px;
    color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.service-detail-hero h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.service-detail-hero p {
    width: 768px;
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 20px;
}

.service-detail-hero span {
    display: inline-flex;
    align-items: center;
    height: 27px;
    margin-top: 14px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 4px;
    font-size: 12px;
    line-height: 17px;
}

.service-detail-article {
    width: 848px;
    padding-bottom: 30px;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
    background: #fff;
}

.service-detail-tabs {
    position: sticky;
    top: var(--service-detail-tabs-sticky-top);
    z-index: 7;
    display: flex;
    align-items: flex-start;
    gap: 66px;
    width: 848px;
    height: 60px;
    margin-top: 0;
    padding: 12px 0 0 40px;
    border-bottom: 0;
    background: #f3f3f3;
}

.service-detail-tabs::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-bottom: 1px solid #e6e6e6;
    border-radius: 12px 12px 0 0;
    background: #fff;
    pointer-events: none;
}

.service-detail-tab {
    position: relative;
    z-index: 1;
    height: 48px;
    padding: 0;
    border: 0;
    color: #222;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
}

.service-detail-tab.is-active {
    font-weight: 700;
}

.service-detail-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #10bf73;
}

.service-detail-section {
    padding: 28px 28px 0;
    scroll-margin-top: calc(var(--service-detail-tabs-sticky-top) + 48px);
}

.service-detail-section + .service-detail-section {
    padding-top: 24px;
}

.service-detail-section h2 {
    margin: 0 0 16px;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.service-detail-section h3 {
    margin: 0 0 12px;
    color: #10bf73;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.service-detail-copy {
    color: #222;
    font-size: 14px;
    line-height: 22px;
    overflow-x: auto;
}

.service-detail-copy p {
    margin: 0;
    text-indent: 2em;
}

.service-detail-copy p + p {
    margin-top: 12px;
}

.service-detail-copy br {
    content: "";
}

.service-detail-copy table {
    width: 100%;
    margin: 12px 0;
    border: 1px solid #1f2937;
    border-collapse: collapse;
    color: #222;
    table-layout: auto;
}

.service-detail-copy th,
.service-detail-copy td {
    border: 1px solid #9ca3af;
    padding: 8px 10px;
    vertical-align: middle;
}

.service-detail-copy th {
    background: #f8fafc;
    font-weight: 700;
}

.service-detail-copy table p {
    margin: 0;
    text-indent: 0;
}

.service-detail-copy img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 12px auto;
}

.service-detail-content-image {
    display: block;
    max-width: 704px;
    height: auto;
    margin: 18px auto 0;
    object-fit: contain;
}

.service-process-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 28px 18px;
    margin: 22px 0 4px;
    padding-top: 4px;
}

.service-process-step {
    position: relative;
    flex: 0 0 calc((100% - 90px) / 6);
    min-height: 116px;
    text-align: center;
}

.service-process-step::before,
.service-process-step::after {
    content: "";
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.service-process-step::before {
    display: none;
}

.service-process-step::after {
    top: 23px;
    right: -16px;
    width: 18px;
    height: 18px;
    background: #cfd5d8;
    pointer-events: auto;
    transition: background .18s ease;
    -webkit-mask: url("/images/website/service-process-arrow.svg") center / contain no-repeat;
    mask: url("/images/website/service-process-arrow.svg") center / contain no-repeat;
}

.service-process-step:hover::after {
    background: #0068b7;
}

.service-process-step:nth-child(6n)::before,
.service-process-step:nth-child(6n)::after,
.service-process-step:last-child::before,
.service-process-step:last-child::after {
    display: none;
}

.service-process-step__image {
    position: relative;
    z-index: 1;
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto;
    place-items: center;
}

.service-process-step__image img {
    display: block;
    max-width: 62px;
    max-height: 62px;
    object-fit: contain;
}

.service-process-step__icon {
    display: block;
    width: 58px;
    height: 58px;
    background: #cfd5d8;
    transition: background .18s ease;
    -webkit-mask-image: var(--process-icon);
    mask-image: var(--process-icon);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.service-process-step:hover .service-process-step__icon {
    background: #10bf73;
}

.service-process-step p {
    position: relative;
    z-index: 1;
    margin: 8px 0 0;
    color: #222;
    font-size: 13px;
    line-height: 18px;
    word-break: break-word;
}

.service-detail-section[data-detail-tab-section="实验流程"] .service-detail-content-image,
#tab-42951d1aa669f10f74034ae551e8394e .service-detail-content-image {
    max-width: 704px;
}

.service-inquiry-card {
    width: 848px;
    margin-top: 25px;
    padding: 28px 28px 30px;
    border-radius: 12px;
    background: #fff;
}

.service-inquiry-card h2 {
    margin: 0;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.service-inquiry-card p {
    margin: 12px 0 0;
    color: #222;
    font-size: 14px;
    line-height: 20px;
}

.service-inquiry-card p span,
.service-inquiry-card p a,
.service-inquiry-card__success {
    color: #2e93ff;
}

.service-inquiry-card p a {
    text-decoration: none;
}

.service-inquiry-card p a:hover {
    text-decoration: underline;
}

.service-inquiry-card form {
    margin-top: 32px;
}

.service-inquiry-grid {
    display: grid;
    gap: 30px;
}

.service-inquiry-grid--three {
    grid-template-columns: repeat(3, 240px);
}

.service-inquiry-grid--two {
    grid-template-columns: repeat(2, 240px);
    margin-top: 24px;
}

.service-inquiry-card label {
    display: block;
}

.service-inquiry-field--select {
    position: relative;
}

.service-inquiry-field--select::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #b3b3b3;
    border-bottom: 1.5px solid #b3b3b3;
    transform: rotate(45deg);
    pointer-events: none;
}

.service-inquiry-card strong {
    display: block;
    margin-bottom: 8px;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.service-inquiry-card em {
    margin-right: 1px;
    color: #ff1925;
    font-style: normal;
}

.service-inquiry-card input,
.service-inquiry-card select,
.service-inquiry-card textarea {
    display: block;
    width: 240px;
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    outline: 0;
    color: #222;
    background: #f5f5f5;
    font-size: 14px;
    line-height: 20px;
}

.service-inquiry-card select {
    padding-right: 36px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.service-inquiry-card select:required:invalid {
    color: #999;
}

.service-inquiry-card select option {
    color: #222;
}

.service-inquiry-card input::placeholder,
.service-inquiry-card textarea::placeholder {
    color: #999;
}

.service-inquiry-wide {
    margin-top: 24px;
}

.service-inquiry-wide textarea {
    width: 780px;
    height: 69px;
    padding-top: 10px;
    resize: none;
}

.service-inquiry-card button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 124px;
    height: 40px;
    margin: 24px auto 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    -webkit-appearance: none;
    appearance: none;
    color: #fff;
    background: #1162bc;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.service-inquiry-card button[type="submit"]:hover {
    background: #0e57a8;
}
