@charset "UTF-8";

.cert-page {
    --cert-ink: #172a35;
    --cert-muted: #61717a;
    --cert-line: #d9e2e5;
    --cert-blue: #087fb8;
    --cert-teal: #147f78;
    --cert-gold: #b77a16;
    --cert-pale: #f1f6f7;
    --cert-warm: #f7f5ef;
    background: #fff;
    color: var(--cert-ink);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.7;
}

.cert-page *,
.cert-page *::before,
.cert-page *::after {
    box-sizing: border-box;
}

.cert-page img {
    max-width: 100%;
}

.cert-shell {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
}

.cert-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 52px;
    color: #75848b;
    font-size: 13px;
}

.cert-breadcrumb a {
    color: #52656f;
}

.cert-breadcrumb a:hover {
    color: var(--cert-blue);
}

.cert-kicker,
.cert-section-heading > p,
.cert-section-heading > div > p,
.cert-panel-label {
    margin: 0 0 8px;
    color: var(--cert-teal);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cert-section-heading h2 {
    margin: 0;
    color: var(--cert-ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.cert-section-heading-inline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.cert-section-heading-inline > a {
    flex: 0 0 auto;
    color: var(--cert-blue);
    font-weight: 600;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    white-space: nowrap;
}

.cert-badge-query {
    border-color: #a7d9d3;
    background: #e8f6f4;
    color: #0f6c66;
}

.cert-badge-document {
    border-color: #dfd5bd;
    background: #f8f4e9;
    color: #7a5a1d;
}

/* Certification index */
.cert-index-hero {
    border-bottom: 1px solid #dce6e9;
    background: var(--cert-pale);
}

.cert-index-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
    gap: 72px;
    align-items: center;
    min-height: 330px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.cert-index-hero h1 {
    margin: 0;
    color: var(--cert-ink);
    font-size: 46px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0;
}

.cert-index-lead {
    max-width: 680px;
    margin: 22px 0 0;
    color: #465b65;
    font-size: 18px;
    line-height: 1.85;
}

.cert-index-principles {
    display: grid;
    gap: 1px;
    border: 1px solid #cddade;
    border-radius: 6px;
    overflow: hidden;
    background: #cddade;
}

.cert-index-principles > div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 74px;
    padding: 16px 20px;
    background: #fff;
}

.cert-index-principles strong {
    color: var(--cert-blue);
    font-size: 15px;
}

.cert-index-principles span {
    color: #586b74;
    font-size: 14px;
}

.cert-index-section {
    padding: 40px 0 78px;
}

.cert-index-heading {
    display: grid;
    grid-template-columns: minmax(250px, .65fr) minmax(360px, 1.35fr);
    column-gap: 50px;
    align-items: end;
    margin-bottom: 28px;
}

.cert-index-heading > p {
    grid-column: 1 / -1;
}

.cert-index-heading > span {
    color: var(--cert-muted);
    font-size: 14px;
    line-height: 1.75;
}

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

.cert-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--cert-line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 47, 59, .06);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.cert-card:hover {
    transform: translateY(-3px);
    border-color: #a9c8d2;
    box-shadow: 0 14px 32px rgba(24, 47, 59, .1);
}

.cert-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 18px;
    border-bottom: 1px solid #e2e8ea;
    background: #f6f8f8;
    overflow: hidden;
}

.cert-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .2s ease;
}

.cert-card:hover .cert-card-image img {
    transform: scale(1.018);
}

.cert-card-body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 22px;
}

.cert-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 28px;
    margin-bottom: 14px;
}

.cert-card-short {
    min-width: 0;
    overflow: hidden;
    color: var(--cert-blue);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cert-card h3 {
    min-height: 56px;
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.48;
    letter-spacing: 0;
}

.cert-card h3 a {
    color: var(--cert-ink);
}

.cert-card h3 a:hover {
    color: var(--cert-blue);
}

.cert-card-issuer {
    min-height: 44px;
    margin: 12px 0 0;
    color: #4d636d;
    font-size: 13px;
    line-height: 1.65;
}

.cert-card-purpose {
    min-height: 108px;
    margin: 16px 0 20px;
    padding-top: 14px;
    border-top: 1px solid #e4eaec;
}

.cert-card-purpose > span {
    display: block;
    margin-bottom: 5px;
    color: var(--cert-teal);
    font-size: 12px;
    font-weight: 700;
}

.cert-card-purpose p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--cert-muted);
    font-size: 14px;
    line-height: 1.72;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.cert-card-action {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 38px;
    margin-top: auto;
    border-bottom: 1px solid currentColor;
    color: var(--cert-blue);
    font-size: 14px;
    font-weight: 700;
}

.cert-pagination {
    margin-top: 36px;
    text-align: center;
}

.cert-method-section {
    border-top: 1px solid #e1e5df;
    border-bottom: 1px solid #e1e5df;
    background: var(--cert-warm);
}

.cert-method-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 68px;
    padding-top: 64px;
    padding-bottom: 64px;
}

.cert-method-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cert-method-list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid #d8d5cc;
}

.cert-method-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.cert-method-list li > span {
    color: var(--cert-gold);
    font-size: 14px;
    font-weight: 750;
}

.cert-method-list h3 {
    margin: 0 0 6px;
    color: var(--cert-ink);
    font-size: 17px;
    font-weight: 700;
}

.cert-method-list p {
    margin: 0;
    color: #5e6666;
    font-size: 14px;
}

.cert-faq-section {
    padding: 68px 0 82px;
}

.cert-faq-list {
    margin-top: 26px;
    border-top: 1px solid var(--cert-line);
}

.cert-faq-list details {
    border-bottom: 1px solid var(--cert-line);
}

.cert-faq-list summary {
    position: relative;
    padding: 20px 48px 20px 0;
    color: var(--cert-ink);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    list-style: none;
}

.cert-faq-list summary::-webkit-details-marker {
    display: none;
}

.cert-faq-list summary::after {
    position: absolute;
    top: 20px;
    right: 4px;
    content: "+";
    color: var(--cert-blue);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.cert-faq-list details[open] summary::after {
    content: "-";
}

.cert-faq-list details p {
    max-width: 940px;
    margin: 0;
    padding: 0 48px 22px 0;
    color: var(--cert-muted);
    font-size: 14px;
}

/* Certification detail */
.cert-detail-hero {
    border-top: 1px solid #dce6e9;
    border-bottom: 1px solid #dce6e9;
    background: var(--cert-pale);
}

.cert-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    gap: 68px;
    align-items: center;
    min-height: 520px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.cert-detail-heading {
    min-width: 0;
}

.cert-status-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.cert-status-line .cert-kicker {
    margin: 0;
}

.cert-short-name {
    margin: 0 0 8px;
    color: var(--cert-blue);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.45;
}

.cert-detail-heading h1 {
    max-width: 720px;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--cert-ink);
    font-size: 38px;
    font-weight: 750;
    line-height: 1.28;
    letter-spacing: 0;
}

.cert-lead {
    max-width: 720px;
    margin: 20px 0 0;
    color: #4e626c;
    font-size: 16px;
    line-height: 1.85;
}

.cert-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 24px;
    color: #687981;
    font-size: 13px;
}

.cert-document-figure {
    display: flex;
    min-width: 0;
    height: 410px;
    margin: 0;
    flex-direction: column;
    border: 1px solid #cfdadd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 45px rgba(26, 52, 64, .1);
}

.cert-document-figure img {
    width: 100%;
    min-height: 0;
    flex: 1;
    padding: 18px;
    object-fit: contain;
}

.cert-document-figure figcaption {
    flex: 0 0 auto;
    padding: 11px 16px;
    border-top: 1px solid #e3e9eb;
    color: #6b7980;
    font-size: 12px;
    text-align: center;
}

.cert-facts-section {
    padding: 72px 0;
}

.cert-facts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr);
    gap: 54px;
    align-items: start;
}

.cert-facts-main {
    min-width: 0;
}

.cert-fact-list {
    margin: 26px 0 0;
    border-top: 2px solid var(--cert-ink);
}

.cert-fact-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--cert-line);
}

.cert-fact-row dt {
    color: #718087;
    font-size: 13px;
    font-weight: 600;
}

.cert-fact-row dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--cert-ink);
    font-size: 14px;
    font-weight: 650;
}

.cert-verification-panel {
    min-width: 0;
    padding: 28px;
    border-radius: 6px;
    background: #193741;
    color: #fff;
}

.cert-verification-panel .cert-panel-label {
    color: #86d4cd;
}

.cert-verification-panel h2 {
    margin: 0;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.4;
}

.cert-query-key {
    margin-top: 22px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    background: rgba(255, 255, 255, .07);
}

.cert-query-key span {
    display: block;
    margin-bottom: 5px;
    color: #b7c9ce;
    font-size: 12px;
}

.cert-query-key strong {
    display: block;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
}

.cert-query-note {
    margin: 20px 0 0;
    color: #d9e5e7;
    font-size: 14px;
    line-height: 1.75;
}

.cert-official-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 24px;
    padding: 10px 16px;
    border: 1px solid #efbd63;
    border-radius: 4px;
    background: #efbd63;
    color: #21323a;
    font-size: 14px;
    font-weight: 750;
    text-align: center;
}

.cert-official-link:hover {
    border-color: #fff;
    background: #fff;
    color: #15333e;
}

.cert-source-note {
    margin: 16px 0 0;
    color: #aebfc4;
    font-size: 12px;
    line-height: 1.65;
}

.cert-proof-section {
    padding: 70px 0;
    border-top: 1px solid #e5e5df;
    border-bottom: 1px solid #e5e5df;
    background: var(--cert-warm);
}

.cert-proof-figure {
    margin: 26px 0 0;
    border: 1px solid #d8d6cd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.cert-proof-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.cert-proof-figure figcaption {
    padding: 14px 20px;
    border-top: 1px solid #e5e2d9;
    color: #697176;
    font-size: 12px;
    text-align: center;
}

.cert-content-section {
    padding: 72px 0;
}

.cert-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
    gap: 58px;
    align-items: start;
}

.cert-content-main {
    min-width: 0;
}

.cert-purpose-detail {
    margin-top: 26px;
    padding: 22px 24px;
    border-left: 3px solid var(--cert-teal);
    background: var(--cert-pale);
}

.cert-purpose-detail h3 {
    margin: 0;
    color: var(--cert-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.cert-purpose-detail p {
    margin: 10px 0 0;
    color: #405761;
    font-size: 15px;
    line-height: 1.9;
}

.cert-richtext {
    margin-top: 26px;
    color: #384e58;
    font-size: 16px;
    line-height: 1.95;
}

.cert-richtext p {
    margin: 0 0 18px;
}

.cert-richtext h2,
.cert-richtext h3,
.cert-richtext h4 {
    margin: 30px 0 14px;
    color: var(--cert-ink);
    font-weight: 700;
    line-height: 1.45;
}

.cert-richtext img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto !important;
    margin: 24px auto;
}

.cert-richtext table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    border-collapse: collapse;
}

.cert-boundary {
    padding: 26px;
    border-top: 3px solid var(--cert-gold);
    background: #f7f5ef;
}

.cert-boundary h2 {
    margin: 0;
    color: var(--cert-ink);
    font-size: 20px;
    font-weight: 700;
}

.cert-boundary p {
    margin: 14px 0 0;
    color: #626a69;
    font-size: 14px;
    line-height: 1.8;
}

.cert-boundary a {
    display: inline-block;
    margin-top: 18px;
    border-bottom: 1px solid currentColor;
    color: var(--cert-blue);
    font-weight: 700;
}

.cert-related-section {
    padding: 64px 0 78px;
    border-top: 1px solid #dfe6e8;
    background: var(--cert-pale);
}

.cert-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.cert-related-item {
    display: grid;
    grid-template-rows: 148px auto;
    min-width: 0;
    border: 1px solid #d2dee1;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.cert-related-item img {
    width: 100%;
    height: 148px;
    padding: 12px;
    object-fit: contain;
    background: #f8f9f9;
}

.cert-related-item span {
    padding: 13px 14px;
    border-top: 1px solid #e1e8ea;
    overflow-wrap: anywhere;
    color: var(--cert-ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
}

.cert-related-item:hover {
    border-color: #9fbfc9;
}

.cert-related-item:hover span {
    color: var(--cert-blue);
}

@media (max-width: 1024px) {
    .cert-index-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
        gap: 42px;
    }

    .cert-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cert-detail-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
        gap: 42px;
    }

    .cert-facts-layout,
    .cert-content-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr);
        gap: 36px;
    }

    .cert-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cert-shell {
        width: calc(100% - 32px);
    }

    .cert-breadcrumb {
        min-height: 46px;
        font-size: 12px;
    }

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

    .cert-section-heading-inline {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .cert-index-hero-grid,
    .cert-detail-hero-grid,
    .cert-facts-layout,
    .cert-content-layout,
    .cert-method-layout,
    .cert-index-heading {
        grid-template-columns: minmax(0, 1fr);
    }

    .cert-index-hero-grid {
        gap: 30px;
        min-height: 0;
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .cert-index-hero h1 {
        font-size: 36px;
    }

    .cert-index-lead {
        margin-top: 16px;
        font-size: 16px;
    }

    .cert-index-principles > div {
        grid-template-columns: 80px 1fr;
        min-height: 66px;
        padding: 13px 15px;
    }

    .cert-index-section {
        padding: 28px 0 56px;
    }

    .cert-index-heading {
        gap: 10px;
    }

    .cert-index-heading > p {
        grid-column: auto;
    }

    .cert-card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .cert-card-image {
        aspect-ratio: 16 / 11;
    }

    .cert-card h3,
    .cert-card-issuer,
    .cert-card-purpose {
        min-height: 0;
    }

    .cert-method-layout {
        gap: 26px;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .cert-faq-section {
        padding: 50px 0 60px;
    }

    .cert-detail-hero-grid {
        gap: 30px;
        min-height: 0;
        padding-top: 36px;
        padding-bottom: 38px;
    }

    .cert-detail-heading h1 {
        font-size: 30px;
    }

    .cert-lead {
        font-size: 15px;
    }

    .cert-document-figure {
        height: 360px;
    }

    .cert-facts-section,
    .cert-content-section {
        padding: 52px 0;
    }

    .cert-facts-layout,
    .cert-content-layout {
        gap: 34px;
    }

    .cert-fact-row {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
        padding: 14px 0;
    }

    .cert-verification-panel {
        padding: 24px 20px;
    }

    .cert-proof-section {
        padding: 52px 0;
    }

    .cert-proof-figure {
        margin-top: 20px;
    }

    .cert-proof-figure figcaption {
        padding: 12px 14px;
        text-align: left;
    }

    .cert-richtext {
        margin-top: 20px;
        font-size: 15px;
    }

    .cert-purpose-detail {
        margin-top: 20px;
        padding: 18px;
    }

    .cert-related-section {
        padding: 50px 0 60px;
    }

    .cert-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cert-related-item {
        grid-template-rows: 118px auto;
    }

    .cert-related-item img {
        height: 118px;
        padding: 8px;
    }

    .cert-related-item span {
        padding: 11px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .cert-status-line,
    .cert-card-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .cert-card-short {
        white-space: normal;
    }

    .cert-document-figure {
        height: 320px;
    }

    .cert-fact-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .cert-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
