﻿/* 菌群检测和菌群移植技术单页 */

.page-jqyz {
    background: #fff;
    overflow-x: hidden;
}

.page-jqyz .main-nav li.active a::after {
    width: 48px;
    height: 3px;
    bottom: 18px;
    border-radius: 2px;
    background: #fff;
}

.jq-hero {
    margin-top: 80px;
    background: #e8eef5 url("https://bucket.tzgj333.cn/gwtp/jqyz/img_banner.png") center center / cover no-repeat;
    overflow: hidden;
}

.jq-hero-inner {
    max-width: 1400px;
    min-height: 440px;
    margin: 0 auto;
    padding: 150px 40px 60px;
    box-sizing: border-box;
}

.jq-hero-text {
    max-width: 620px;
}

.jq-hero-cn {
    margin: 0 0 14px;
    color: #313946;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.42;
}

.jq-hero-en {
    max-width: 540px;
    margin: 0;
    color: #4b5563;
    font-size: clamp(12px, 1.15vw, 15px);
    line-height: 1.65;
}

.jq-filter {
    background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.2);
}

.jq-filter-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 40px 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
}

.jq-filter-inner a {
    padding: 8px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.jq-filter-inner a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.jq-filter-inner a.is-active {
    color: #1e3a8a;
    font-weight: 700;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.jq-main {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.94)),
        url("https://bucket.tzgj333.cn/gwtp/jqyz/img_zs.png") top center / 100% auto no-repeat;
}

.jq-service {
    max-width: 1240px;
    margin: 0 auto;
    padding: 74px 40px 116px;
}

.jq-section-head {
    text-align: center;
}

.jq-section-en {
    margin: 0 0 8px;
    color: #a3acba;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.jq-section-head h1 {
    margin: 0;
    color: #1e3a8a;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
}

.jq-section-head h1::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin: 13px auto 12px;
    border-radius: 2px;
    background: #1e3a8a;
}

.jq-section-head > p:last-child {
    margin: 0;
    color: #8b95a5;
    font-size: 13px;
    line-height: 1.8;
}

.jq-row {
    display: grid;
    grid-template-columns: minmax(330px, 0.88fr) minmax(430px, 1.12fr);
    align-items: center;
    margin-top: 88px;
    gap: 0;
}

.jq-row-second {
    grid-template-columns: minmax(430px, 1.12fr) minmax(330px, 0.88fr);
    margin-top: 80px;
}

.jq-card,
.jq-media {
    min-width: 0;
}

.jq-card {
    min-height: 300px;
    padding: 66px 58px 48px;
    border: 1px solid #e7edf6;
    border-radius: 10px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
        url("https://bucket.tzgj333.cn/gwtp/jqyz/img_zs.png") 78% 82% / 120px auto no-repeat;
    box-shadow: 0 12px 36px rgba(30, 58, 138, 0.08);
}

.jq-row-first .jq-card {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.jq-row-second .jq-card {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.jq-card-label {
    margin: 0 0 4px;
    color: #9aa5b7;
    font-size: 13px;
}

.jq-card h2 {
    margin: 0 0 26px;
    color: #273247;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.jq-card p:last-child {
    margin: 0;
    color: #5f6b7a;
    font-size: 13px;
    line-height: 2;
    text-align: justify;
}

.jq-media {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(30, 58, 138, 0.1);
}

.jq-media img {
    width: 100%;
    height: auto;
    display: block;
}

.jq-row-first .jq-media {
    margin-left: -1px;
}

.jq-row-second .jq-media {
    margin-right: -1px;
}

@media (max-width: 992px) {
    .jq-hero {
        margin-top: 64px;
    }

    .jq-hero-inner {
        min-height: 300px;
        padding: 88px 20px 48px;
    }

    .jq-filter-inner {
        padding: 12px 20px;
        flex-wrap: nowrap;
        gap: 20px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .jq-filter-inner::-webkit-scrollbar {
        display: none;
    }

    .jq-main {
        background-position: top center;
        background-size: auto 100%;
    }

    .jq-service {
        padding: 46px 20px 72px;
    }

    .jq-row,
    .jq-row-second {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .jq-row-second .jq-media {
        order: 2;
    }

    .jq-row-second .jq-card {
        order: 1;
    }

    .jq-card {
        min-height: 0;
        padding: 34px 26px;
        border-radius: 8px 8px 0 0;
        background-position: right 24px bottom 20px;
        background-size: 82px auto;
    }

    .jq-row-first .jq-card,
    .jq-row-second .jq-card {
        border-radius: 8px 8px 0 0;
    }

    .jq-media,
    .jq-row-first .jq-media,
    .jq-row-second .jq-media {
        margin: 0;
        border-radius: 0 0 8px 8px;
    }

    .page-jqyz .footer-brand p {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .jq-hero {
        background-position: 64% center;
    }

    .jq-hero-inner {
        min-height: 260px;
        padding: 58px 18px 34px;
    }

    .jq-hero-text {
        max-width: 72%;
    }

    .jq-hero-cn {
        margin-bottom: 8px;
        font-size: 20px;
        letter-spacing: 1px;
        line-height: 1.45;
    }

    .jq-hero-en {
        font-size: 11px;
        line-height: 1.45;
    }

    .jq-filter-inner {
        padding: 10px 16px;
        gap: 10px;
    }

    .jq-filter-inner a {
        padding: 7px 12px;
        font-size: 12px;
        letter-spacing: 0;
    }

    .jq-service {
        padding: 38px 16px 58px;
    }

    .jq-section-en {
        font-size: 12px;
    }

    .jq-section-head h1 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .jq-section-head > p:last-child {
        font-size: 12px;
        line-height: 1.7;
    }

    .jq-row,
    .jq-row-second {
        margin-top: 30px;
    }

    .jq-card {
        padding: 28px 20px 30px;
    }

    .jq-card h2 {
        margin-bottom: 16px;
        font-size: 19px;
    }

    .jq-card p:last-child {
        font-size: 12px;
        line-height: 1.85;
    }
}
