/**
 * Contact Us（page-contact-us.php）专用样式。
 * 作用域：body.page-template-page-contact-us
 * 11 条 @media：逐档调整面包屑、标题、版心内边距、联系信息/地图、表单、提交区、FAQ、博客区等
 * 的尺寸（字号、内外边距、宽/高、min/max）。版心 max-width:1296px 保持不变。
 */

body.page-template-page-contact-us main.xy-contact-us-main {
    overflow-x: hidden;
    --xy-contact-frame-inline: 16px;
    --xy-contact-section-inline: var(--xy-contact-frame-inline);
    --xy-contact-header-inline: var(--xy-contact-frame-inline);
}

body.page-template-page-contact-us main.xy-contact-us-main > .xy-contact-header-module {
    box-sizing: border-box;
    width: 100%;
    max-width: 1296px;
    margin-left: auto;
    margin-right: auto;
    border-left: 1px solid #E4E4E4;
    border-right: 1px solid #E4E4E4;
}

body.page-template-page-contact-us main.xy-contact-us-main > .xy-contact-header-module .xy-contact-container {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame.xy-module-page-shell {
    width: 100%;
    max-width: 1296px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: var(--xy-contact-frame-inline);
    box-sizing: border-box;
    border-left: 1px solid #E4E4E4;
    border-right: 1px solid #E4E4E4;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-divider {
    width: 100%;
    height: 1px;
    background-color: #E4E4E4;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-info-module,
body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-hero,
body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-submit-module {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-container {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-local-faq-section,
body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-blogs-section {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ========== 规则 1：≤389 ========== */
@media (max-width: 389.98px) {
    body.page-template-page-contact-us main.xy-contact-us-main {
        --xy-contact-frame-inline: 16px;
        --xy-contact-section-inline: 16px;
    }
    /* 面包屑 */
    body.page-template-page-contact-us .product-series-breadcrumb {
        max-width: 1296px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 0;
        padding-bottom: 0;
        min-height: 0;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__cell--crumbs {
        padding: 0 12px;
        min-width: 0;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back {
        width: 72px;
        min-width: 72px;
        max-width: 72px;
        height: 72px;
        min-height: 72px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back svg {
        width: 26px;
        height: 26px;
        max-width: 26px;
        max-height: 26px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__link,
    body.page-template-page-contact-us .product-series-breadcrumb__current {
        font-size: 12px;
        line-height: 1.25;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__sep {
        font-size: 12px;
        margin: 0 6px;
    }

    /* 整页主容器 */
    body.page-template-page-contact-us .xy-contact-us-main {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        overflow-x: hidden;
    }

    body.page-template-page-contact-us .xy-contact-header-module,
    body.page-template-page-contact-us .xy-contact-info-module {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    body.page-template-page-contact-us .xy-contact-hero {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    body.page-template-page-contact-us .xy-contact-container {
        padding: 18px 14px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 1296px;
        min-width: 0;
        box-sizing: border-box;
    }

    body.page-template-page-contact-us .xy-contact-title {
        font-size: 21px;
        line-height: 1.15;
        margin: 0;
        max-width: 100%;
    }

    body.page-template-page-contact-us .xy-contact-info-wrapper {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 18px;
        align-items: stretch;
        padding: 10px 0;
        margin: 0;
        width: 100%;
        min-width: 0;
    }

    body.page-template-page-contact-us .xy-contact-details {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 14px;
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        box-sizing: border-box;
    }

    body.page-template-page-contact-us .xy-contact-detail-item {
        font-size: 13px;
        line-height: 1.45;
        margin: 0;
        width: 100%;
        min-width: 0;
    }

    body.page-template-page-contact-us .xy-contact-icon {
        margin-right: 10px;
        margin-top: 1px;
        flex-shrink: 0;
    }

    body.page-template-page-contact-us .xy-contact-icon svg {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        max-width: 18px;
        max-height: 18px;
    }

    body.page-template-page-contact-us .xy-contact-label {
        margin-right: 6px;
        font-size: 13px;
    }

    body.page-template-page-contact-us .xy-contact-value,
    body.page-template-page-contact-us .xy-contact-text {
        font-size: 13px;
        line-height: 1.45;
    }

    body.page-template-page-contact-us .xy-contact-map-wrap {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        height: 188px;
        min-height: 160px;
        max-height: 240px;
        box-sizing: border-box;
    }

    body.page-template-page-contact-us .xy-contact-map-frame {
        width: 100%;
        height: 100%;
        min-height: 100%;
        max-height: 100%;
    }

    body.page-template-page-contact-us .xy-contact-form-area {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    body.page-template-page-contact-us .xy-contact-form-desc {
        font-size: 13px;
        margin: 0 0 20px;
        padding-top: 10px;
        line-height: 1.45;
        max-width: 100%;
    }

    body.page-template-page-contact-us .xy-contact-form {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    body.page-template-page-contact-us .xy-form-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px 0;
        margin-bottom: 20px;
        width: 100%;
        min-width: 0;
    }

    body.page-template-page-contact-us .xy-form-group-full {
        grid-column: span 1;
    }

    body.page-template-page-contact-us .xy-form-group input,
    body.page-template-page-contact-us .xy-form-group textarea {
        padding: 14px 0;
        font-size: 13px;
        line-height: 1.4;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.page-template-page-contact-us .xy-form-group input {
        min-height: 52px;
        max-height: none;
    }

    body.page-template-page-contact-us .xy-form-group textarea {
        min-height: 44px;
        max-height: none;
    }

    body.page-template-page-contact-us .xy-form-group label {
        top: 14px;
        font-size: 13px;
        max-width: calc(100% - 8px);
    }

    body.page-template-page-contact-us .xy-form-group input:focus ~ label,
    body.page-template-page-contact-us .xy-form-group input:not(:placeholder-shown) ~ label,
    body.page-template-page-contact-us .xy-form-group textarea:focus ~ label,
    body.page-template-page-contact-us .xy-form-group textarea:not(:placeholder-shown) ~ label {
        top: -14px;
        font-size: 12px;
    }

    body.page-template-page-contact-us .xy-contact-submit-module {
        margin-top: 36px;
        margin-bottom: 44px;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.page-template-page-contact-us .xy-contact-submit {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
        padding: 14px 16px;
        font-size: 13px;
        line-height: 1.3;
        box-sizing: border-box;
    }

    body.page-template-page-contact-us .xy-local-faq-section {
        width: 100%;
        max-width: 1296px;
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
    }

    body.page-template-page-contact-us .xy-local-faq-header {
        margin-bottom: 20px;
        padding: 36px 14px 0;
        min-height: 0;
    }

    body.page-template-page-contact-us .xy-local-faq-header::before {
        width: 3px;
        height: 18px;
        margin-right: 10px;
    }

    body.page-template-page-contact-us .xy-local-faq-title {
        font-size: 15px;
        line-height: 1.25;
        margin: 0;
    }

    body.page-template-page-contact-us .xy-local-faq-list {
        padding: 0 14px;
        margin: 0;
    }

    body.page-template-page-contact-us .xy-local-faq-head {
        padding: 18px 0;
        font-size: 12px;
        line-height: 1.35;
        gap: 10px;
        min-height: 0;
    }

    body.page-template-page-contact-us .xy-local-faq-icon {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        margin-left: 12px;
    }

    body.page-template-page-contact-us .xy-local-faq-content {
        padding-bottom: 18px;
        padding-right: 12px;
        font-size: 13px;
        line-height: 1.65;
        max-width: 100%;
    }

    body.page-template-page-contact-us .xy-local-faq-bottom-block {
        width: 100%;
        height: 56px;
        min-height: 40px;
        max-height: none;
    }

    body.page-template-page-contact-us .xy-contact-blogs-section {
        width: 100%;
        overflow-x: hidden;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header {
        padding: 22px 14px;
        max-width: 1296px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        box-sizing: border-box;
        min-height: 0;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header::before {
        width: 3px;
        height: 18px;
        left: -2px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-title {
        font-size: 15px;
        line-height: 1.25;
        margin: 0;
    }

    body.page-template-page-contact-us .xy-contact-blogs-divider {
        width: 100%;
        height: 1px;
        min-height: 1px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-wrapper {
        width: 100%;
        max-width: 1296px;
        margin-left: auto;
        margin-right: auto;
        min-width: 0;
    }

    body.page-template-page-contact-us .xy-contact-blogs-grid-wrap {
        overflow-x: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.page-template-page-contact-us .xy-contact-blogs-grid {
        width: max-content;
        min-width: 100%;
        max-width: none;
    }

    body.page-template-page-contact-us .xy-contact-blogs-item {
        flex: 0 0 85vw;
        max-width: 85vw;
        min-width: 0;
        padding: 28px 14px 16px;
        box-sizing: border-box;
    }

    body.page-template-page-contact-us .xy-contact-blogs-controls {
        padding: 22px 14px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.page-template-page-contact-us .xy-contact-blogs-btn svg {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-date {
        font-size: 12px;
        margin: 0 0 14px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-media {
        margin-bottom: 14px;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 400 / 300;
        min-height: 0;
    }

    body.page-template-page-contact-us .xy-contact-blogs-title-text {
        font-size: 13px;
        line-height: 1.35;
        margin: 0 0 8px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-desc {
        font-size: 13px;
        line-height: 1.5;
        margin: 0 0 20px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-footer {
        padding-top: 14px;
        margin-left: -14px;
        margin-right: -14px;
        padding-left: 14px;
        padding-right: 14px;
        margin-top: auto;
    }

    body.page-template-page-contact-us .xy-contact-blogs-link {
        font-size: 13px;
        gap: 6px;
        line-height: 1.3;
    }

    body.page-template-page-contact-us .xy-contact-blogs-link svg {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
    }
}

/* ========== 规则 2：390–429 ========== */
@media (min-width: 390px) and (max-width: 429.98px) {
    body.page-template-page-contact-us main.xy-contact-us-main {
        --xy-contact-frame-inline: 18px;
        --xy-contact-section-inline: 18px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back {
        width: 76px;
        min-width: 76px;
        max-width: 76px;
        height: 76px;
        min-height: 76px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back svg {
        width: 28px;
        height: 28px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__cell--crumbs {
        padding: 0 14px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__link,
    body.page-template-page-contact-us .product-series-breadcrumb__current,
    body.page-template-page-contact-us .product-series-breadcrumb__sep {
        font-size: 12.5px;
    }

    body.page-template-page-contact-us .xy-contact-container {
        padding: 20px 16px;
    }

    body.page-template-page-contact-us .xy-contact-title {
        font-size: 22px;
    }

    body.page-template-page-contact-us .xy-contact-info-wrapper {
        gap: 20px;
        padding: 12px 0;
    }

    body.page-template-page-contact-us .xy-contact-detail-item {
        font-size: 13px;
    }

    body.page-template-page-contact-us .xy-contact-map-wrap {
        height: 192px;
        min-height: 168px;
    }

    body.page-template-page-contact-us .xy-form-grid {
        gap: 12px 0;
        margin-bottom: 22px;
    }

    body.page-template-page-contact-us .xy-contact-form-desc {
        margin-bottom: 22px;
        padding-top: 11px;
        font-size: 13px;
    }

    body.page-template-page-contact-us .xy-form-grid {
        grid-template-columns: 1fr;
        gap: 12px 0;
        margin-bottom: 22px;
    }

    body.page-template-page-contact-us .xy-form-group-full {
        grid-column: span 1;
    }

    body.page-template-page-contact-us .xy-contact-submit-module {
        margin-top: 42px;
        margin-bottom: 52px;
    }

    body.page-template-page-contact-us .xy-local-faq-header {
        padding: 40px 16px 0;
    }

    body.page-template-page-contact-us .xy-local-faq-list {
        padding: 0 16px;
    }

    body.page-template-page-contact-us .xy-local-faq-title {
        font-size: 15.5px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header {
        padding: 26px 16px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-item {
        padding: 30px 16px 18px;
    }
}

/* ========== 规则 3：430–479 ========== */
@media (min-width: 430px) and (max-width: 479.98px) {
    body.page-template-page-contact-us main.xy-contact-us-main {
        --xy-contact-frame-inline: 20px;
        --xy-contact-section-inline: 20px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back {
        width: 80px;
        min-width: 80px;
        max-width: 80px;
        height: 80px;
        min-height: 80px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__cell--crumbs {
        padding: 0 16px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__link,
    body.page-template-page-contact-us .product-series-breadcrumb__current {
        font-size: 13px;
    }

    body.page-template-page-contact-us .xy-contact-container {
        padding: 22px 18px;
    }

    body.page-template-page-contact-us .xy-contact-title {
        font-size: 23px;
    }

    body.page-template-page-contact-us .xy-contact-map-wrap {
        height: 196px;
        min-height: 172px;
    }

    body.page-template-page-contact-us .xy-form-grid {
        grid-template-columns: 1fr;
        gap: 14px 0;
        margin-bottom: 24px;
    }

    body.page-template-page-contact-us .xy-form-group-full {
        grid-column: span 1;
    }

    body.page-template-page-contact-us .xy-contact-submit-module {
        margin-top: 48px;
        margin-bottom: 56px;
    }

    body.page-template-page-contact-us .xy-local-faq-header {
        padding: 44px 18px 0;
    }

    body.page-template-page-contact-us .xy-local-faq-list {
        padding: 0 18px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header {
        padding: 30px 18px;
    }
}

/* ========== 规则 4：480–639 ========== */
@media (min-width: 480px) and (max-width: 639.98px) {
    body.page-template-page-contact-us main.xy-contact-us-main {
        --xy-contact-frame-inline: 22px;
        --xy-contact-section-inline: 20px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back {
        width: 84px;
        height: 84px;
        min-width: 84px;
        max-width: 84px;
        min-height: 84px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back svg {
        width: 30px;
        height: 30px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__cell--crumbs {
        padding: 0 20px;
    }

    body.page-template-page-contact-us .xy-contact-container {
        padding: 26px 22px;
    }

    body.page-template-page-contact-us .xy-contact-title {
        font-size: 24px;
        line-height: 1.18;
    }

    body.page-template-page-contact-us .xy-contact-info-wrapper {
        gap: 26px;
    }

    body.page-template-page-contact-us .xy-contact-detail-item {
        font-size: 13.5px;
    }

    body.page-template-page-contact-us .xy-contact-map-wrap {
        height: 200px;
        min-height: 176px;
        max-height: 220px;
    }

    body.page-template-page-contact-us .xy-form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 36px;
        margin-bottom: 28px;
    }

    body.page-template-page-contact-us .xy-form-group-full {
        grid-column: span 2;
    }

    body.page-template-page-contact-us .xy-form-group input,
    body.page-template-page-contact-us .xy-form-group textarea {
        padding: 16px 0;
        font-size: 13.5px;
    }

    body.page-template-page-contact-us .xy-form-group input {
        min-height: 56px;
    }

    body.page-template-page-contact-us .xy-form-group label {
        top: 16px;
        font-size: 13.5px;
    }

    body.page-template-page-contact-us .xy-form-group input:focus ~ label,
    body.page-template-page-contact-us .xy-form-group input:not(:placeholder-shown) ~ label,
    body.page-template-page-contact-us .xy-form-group textarea:focus ~ label,
    body.page-template-page-contact-us .xy-form-group textarea:not(:placeholder-shown) ~ label {
        top: -15px;
        font-size: 12.5px;
    }

    body.page-template-page-contact-us .xy-contact-form-desc {
        font-size: 13.5px;
        margin-bottom: 26px;
        padding-top: 14px;
    }

    body.page-template-page-contact-us .xy-contact-submit-module {
        margin-top: 54px;
        margin-bottom: 62px;
    }

    body.page-template-page-contact-us .xy-contact-submit {
        padding: 15px 18px;
        font-size: 13.5px;
        min-height: 50px;
        max-width: 100%;
    }

    body.page-template-page-contact-us .xy-local-faq-header {
        padding: 48px 22px 0;
        margin-bottom: 28px;
    }

    body.page-template-page-contact-us .xy-local-faq-title {
        font-size: 16px;
    }

    body.page-template-page-contact-us .xy-local-faq-list {
        padding: 0 22px;
    }

    body.page-template-page-contact-us .xy-local-faq-head {
        padding: 22px 0;
        font-size: 13px;
    }

    body.page-template-page-contact-us .xy-local-faq-content {
        padding-right: 22px;
        padding-bottom: 22px;
        font-size: 13.5px;
    }

    body.page-template-page-contact-us .xy-local-faq-bottom-block {
        height: 72px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header {
        padding: 34px 22px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-title {
        font-size: 16px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-item {
        flex: 0 0 75vw;
        max-width: 75vw;
        padding: 34px 18px 18px;
    }
}

/* ========== 规则 5：640–767 ========== */
@media (min-width: 640px) and (max-width: 767.98px) {
    body.page-template-page-contact-us main.xy-contact-us-main {
        --xy-contact-frame-inline: 24px;
        --xy-contact-section-inline: 24px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back {
        width: 92px;
        height: 92px;
        min-width: 92px;
        max-width: 92px;
        min-height: 92px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__cell--crumbs {
        padding: 0 24px;
    }

    body.page-template-page-contact-us .xy-contact-container {
        padding: 30px 26px;
    }

    body.page-template-page-contact-us .xy-contact-title {
        font-size: 25px;
    }

    body.page-template-page-contact-us .xy-contact-info-wrapper {
        gap: 30px;
    }

    body.page-template-page-contact-us .xy-contact-details {
        height: auto;
        min-height: 0;
        gap: 12px;
    }

    body.page-template-page-contact-us .xy-contact-map-wrap {
        height: 200px;
        max-height: 220px;
    }

    body.page-template-page-contact-us .xy-form-grid {
        gap: 26px 42px;
        margin-bottom: 30px;
    }

    body.page-template-page-contact-us .xy-contact-submit-module {
        margin-top: 60px;
        margin-bottom: 68px;
    }

    body.page-template-page-contact-us .xy-local-faq-header {
        padding: 52px 26px 0;
    }

    body.page-template-page-contact-us .xy-local-faq-list {
        padding: 0 26px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header {
        padding: 36px 26px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-item {
        flex: 0 0 55vw;
        max-width: 55vw;
        padding: 36px 20px 20px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-controls {
        padding: 26px 26px;
    }
}

/* ========== 规则 6：768–1024 ========== */
@media (min-width: 768px) and (max-width: 1024px) {
    body.page-template-page-contact-us main.xy-contact-us-main {
        --xy-contact-frame-inline: 32px;
        --xy-contact-section-inline: 28px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back {
        width: 100px;
        height: 100px;
        min-width: 100px;
        max-width: 100px;
        min-height: 100px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back svg {
        width: 34px;
        height: 34px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__cell--crumbs {
        padding: 0 28px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__link,
    body.page-template-page-contact-us .product-series-breadcrumb__current {
        font-size: 13.5px;
    }

    body.page-template-page-contact-us .xy-contact-container {
        padding: 34px 30px;
    }

    body.page-template-page-contact-us .xy-contact-title {
        font-size: 27px;
    }

    body.page-template-page-contact-us .xy-contact-info-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 34px;
        padding: 16px 0;
    }

    body.page-template-page-contact-us .xy-contact-details {
        height: 200px;
        min-height: 160px;
        max-height: 260px;
        gap: 0;
        justify-content: space-between;
    }

    body.page-template-page-contact-us .xy-contact-map-wrap {
        height: 200px;
        max-height: 200px;
        min-height: 180px;
    }

    body.page-template-page-contact-us .xy-contact-detail-item {
        font-size: 14px;
    }

    body.page-template-page-contact-us .xy-contact-icon svg {
        width: 22px;
        height: 22px;
        max-width: 22px;
        max-height: 22px;
    }

    body.page-template-page-contact-us .xy-contact-form-desc {
        font-size: 14px;
        margin-bottom: 32px;
        padding-top: 16px;
    }

    body.page-template-page-contact-us .xy-form-grid {
        gap: 32px 48px;
        margin-bottom: 34px;
    }

    body.page-template-page-contact-us .xy-form-group input,
    body.page-template-page-contact-us .xy-form-group textarea {
        padding: 18px 0;
        font-size: 14px;
    }

    body.page-template-page-contact-us .xy-form-group input {
        min-height: 58px;
    }

    body.page-template-page-contact-us .xy-form-group label {
        top: 18px;
        font-size: 14px;
    }

    body.page-template-page-contact-us .xy-form-group input:focus ~ label,
    body.page-template-page-contact-us .xy-form-group input:not(:placeholder-shown) ~ label,
    body.page-template-page-contact-us .xy-form-group textarea:focus ~ label,
    body.page-template-page-contact-us .xy-form-group textarea:not(:placeholder-shown) ~ label {
        top: -17px;
        font-size: 13px;
    }

    body.page-template-page-contact-us .xy-contact-submit-module {
        margin-top: 68px;
        margin-bottom: 76px;
    }

    body.page-template-page-contact-us .xy-contact-submit {
        max-width: 720px;
        padding: 15px 18px;
        min-height: 52px;
    }

    body.page-template-page-contact-us .xy-local-faq-header {
        padding: 56px 30px 0;
        margin-bottom: 34px;
    }

    body.page-template-page-contact-us .xy-local-faq-header::before {
        width: 4px;
        height: 22px;
        margin-right: 13px;
    }

    body.page-template-page-contact-us .xy-local-faq-title {
        font-size: 17px;
    }

    body.page-template-page-contact-us .xy-local-faq-list {
        padding: 0 30px;
    }

    body.page-template-page-contact-us .xy-local-faq-head {
        padding: 23px 0;
        font-size: 13.5px;
    }

    body.page-template-page-contact-us .xy-local-faq-icon {
        width: 19px;
        height: 19px;
        margin-left: 16px;
    }

    body.page-template-page-contact-us .xy-local-faq-content {
        padding-bottom: 23px;
        padding-right: 32px;
        font-size: 14px;
    }

    body.page-template-page-contact-us .xy-local-faq-bottom-block {
        height: 92px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header {
        padding: 38px 30px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-title {
        font-size: 17px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-item {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding: 38px 18px 18px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-controls {
        padding: 28px 30px;
    }
}

/* ========== 规则 7：1025–1365.98（窄桌面：略收紧） ========== */
@media (min-width: 1025px) and (max-width: 1365.98px) {
    body.page-template-page-contact-us main.xy-contact-us-main {
        --xy-contact-frame-inline: 60px;
        --xy-contact-section-inline: 32px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back {
        width: 104px;
        height: 104px;
        min-width: 104px;
        max-width: 104px;
        min-height: 104px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__cell--crumbs {
        padding: 0 30px;
    }

    body.page-template-page-contact-us .xy-contact-container {
        padding: 32px 30px;
    }

    body.page-template-page-contact-us .xy-contact-title {
        font-size: 26px;
    }

    body.page-template-page-contact-us .xy-contact-info-wrapper {
        gap: 34px;
        flex-wrap: nowrap;
        padding: 16px 0;
    }

    body.page-template-page-contact-us .xy-contact-details {
        height: 200px;
        max-height: 220px;
    }

    body.page-template-page-contact-us .xy-contact-map-wrap {
        height: 200px;
        max-height: 200px;
    }

    body.page-template-page-contact-us .xy-form-grid {
        gap: 32px 50px;
        margin-bottom: 34px;
    }

    body.page-template-page-contact-us .xy-contact-submit-module {
        margin-top: 72px;
        margin-bottom: 80px;
    }

    body.page-template-page-contact-us .xy-contact-submit {
        max-width: 800px;
    }

    body.page-template-page-contact-us .xy-local-faq-header {
        padding: 52px 30px 0;
    }

    body.page-template-page-contact-us .xy-local-faq-list {
        padding: 0 30px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header {
        padding: 36px 30px;
    }
}

/* ========== 规则 8：1366–1512 ========== */
@media (min-width: 1366px) and (max-width: 1512px) {
    body.page-template-page-contact-us main.xy-contact-us-main {
        --xy-contact-frame-inline: 0px;
        --xy-contact-section-inline: 40px;
        --xy-contact-header-inline: var(--xy-contact-section-inline);
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back {
        width: 106px;
        height: 106px;
        min-width: 106px;
        max-width: 106px;
        min-height: 106px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__cell--crumbs {
        padding: 0 34px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__link,
    body.page-template-page-contact-us .product-series-breadcrumb__current {
        font-size: 14px;
    }

    body.page-template-page-contact-us .xy-contact-container {
        padding: 44px 44px;
    }

    body.page-template-page-contact-us .xy-contact-title {
        font-size: 34px;
    }

    body.page-template-page-contact-us .xy-contact-info-wrapper {
        gap: 44px;
    }

    body.page-template-page-contact-us .xy-form-grid {
        gap: 42px 60px;
        margin-bottom: 42px;
    }

    body.page-template-page-contact-us .xy-contact-submit-module {
        margin-top: 88px;
        margin-bottom: 96px;
    }

    body.page-template-page-contact-us .xy-contact-submit {
        max-width: 820px;
        padding: 16px 20px;
        min-height: 54px;
    }

    body.page-template-page-contact-us .xy-local-faq-header {
        padding: 70px 44px 0;
        margin-bottom: 40px;
    }

    body.page-template-page-contact-us .xy-local-faq-title {
        font-size: 17.5px;
    }

    body.page-template-page-contact-us .xy-local-faq-list {
        padding: 0 44px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header {
        padding: 48px 44px;
    }
}

/* ========== 规则 9：1513–1599.98 ========== */
@media (min-width: 1513px) and (max-width: 1599.98px) {
    body.page-template-page-contact-us main.xy-contact-us-main {
        --xy-contact-frame-inline: 0px;
        --xy-contact-section-inline: 40px;
        --xy-contact-header-inline: var(--xy-contact-section-inline);
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back {
        width: 108px;
        height: 108px;
        min-width: 108px;
        max-width: 108px;
        min-height: 108px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__cell--crumbs {
        padding: 0 36px;
    }

    body.page-template-page-contact-us .xy-contact-container {
        padding: 46px 46px;
    }

    body.page-template-page-contact-us .xy-contact-title {
        font-size: 36px;
    }

    body.page-template-page-contact-us .xy-contact-submit {
        max-width: 830px;
    }

    body.page-template-page-contact-us .xy-local-faq-header {
        padding: 66px 46px 0;
    }

    body.page-template-page-contact-us .xy-local-faq-list {
        padding: 0 46px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header {
        padding: 44px 46px;
    }
}

/* ========== 规则 10：≥1600 ========== */
@media (min-width: 1600px) {
    body.page-template-page-contact-us main.xy-contact-us-main {
        --xy-contact-frame-inline: 0px;
        --xy-contact-section-inline: 40px;
        --xy-contact-header-inline: var(--xy-contact-section-inline);
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back {
        width: 108px;
        height: 108px;
        min-width: 108px;
        max-width: 108px;
        min-height: 108px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__back svg {
        width: 40px;
        height: 40px;
    }

    body.page-template-page-contact-us .product-series-breadcrumb__cell--crumbs {
        padding: 0 38px;
    }

    body.page-template-page-contact-us .xy-contact-container {
        padding: 48px;
    }

    body.page-template-page-contact-us .xy-contact-title {
        font-size: 38px;
        line-height: 1.2;
    }

    body.page-template-page-contact-us .xy-contact-info-wrapper {
        gap: 46px;
        padding: 22px 0;
    }

    body.page-template-page-contact-us .xy-contact-details {
        height: 200px;
        max-height: 200px;
        min-height: 200px;
    }

    body.page-template-page-contact-us .xy-contact-map-wrap {
        height: 200px;
        max-height: 200px;
        min-height: 200px;
    }

    body.page-template-page-contact-us .xy-contact-detail-item {
        font-size: 14px;
        line-height: 1.5;
    }

    body.page-template-page-contact-us .xy-contact-icon svg {
        width: 24px;
        height: 24px;
        max-width: 24px;
        max-height: 24px;
    }

    body.page-template-page-contact-us .xy-contact-form-desc {
        font-size: 14px;
        margin: 0 0 40px;
        padding-top: 20px;
    }

    body.page-template-page-contact-us .xy-form-grid {
        gap: 44px 64px;
        margin-bottom: 44px;
    }

    body.page-template-page-contact-us .xy-form-group input,
    body.page-template-page-contact-us .xy-form-group textarea {
        padding: 20px 0;
        font-size: 14px;
    }

    body.page-template-page-contact-us .xy-form-group input {
        min-height: 64px;
    }

    body.page-template-page-contact-us .xy-form-group textarea {
        min-height: 40px;
    }

    body.page-template-page-contact-us .xy-form-group label {
        top: 20px;
        font-size: 14px;
    }

    body.page-template-page-contact-us .xy-form-group input:focus ~ label,
    body.page-template-page-contact-us .xy-form-group input:not(:placeholder-shown) ~ label,
    body.page-template-page-contact-us .xy-form-group textarea:focus ~ label,
    body.page-template-page-contact-us .xy-form-group textarea:not(:placeholder-shown) ~ label {
        top: -20px;
        font-size: 14px;
    }

    body.page-template-page-contact-us .xy-contact-submit-module {
        margin-top: 92px;
        margin-bottom: 100px;
    }

    body.page-template-page-contact-us .xy-contact-submit {
        max-width: 839px;
        padding: 16px;
        font-size: 14px;
        min-height: auto;
    }

    body.page-template-page-contact-us .xy-local-faq-header {
        margin-bottom: 40px;
        padding: 60px 20px 0;
    }

    body.page-template-page-contact-us .xy-local-faq-header::before {
        width: 4px;
        height: 24px;
        margin-right: 15px;
    }

    body.page-template-page-contact-us .xy-local-faq-title {
        font-size: 18px;
    }

    body.page-template-page-contact-us .xy-local-faq-list {
        padding: 0 20px;
    }

    body.page-template-page-contact-us .xy-local-faq-head {
        padding: 24px 0;
        font-size: 14px;
    }

    body.page-template-page-contact-us .xy-local-faq-icon {
        width: 20px;
        height: 20px;
        margin-left: 20px;
    }

    body.page-template-page-contact-us .xy-local-faq-content {
        padding-bottom: 24px;
        padding-right: 40px;
        font-size: 14px;
        line-height: 1.8;
    }

    body.page-template-page-contact-us .xy-local-faq-bottom-block {
        height: 108px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-header {
        padding: 40px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-title {
        font-size: 18px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-item {
        padding: 40px 20px 20px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-controls {
        padding: 30px 40px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-btn svg {
        width: 32px;
        height: 32px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-date {
        font-size: 14px;
        margin: 0 0 20px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-media {
        margin-bottom: 20px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-title-text {
        font-size: 14px;
        margin: 0 0 10px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-desc {
        font-size: 14px;
        margin: 0 0 30px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-footer {
        padding-top: 20px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    body.page-template-page-contact-us .xy-contact-blogs-link {
        font-size: 14px;
        gap: 8px;
    }
}

body.page-template-page-contact-us main.xy-contact-us-main > .xy-contact-header-module .xy-contact-container {
    padding-left: var(--xy-contact-header-inline) !important;
    padding-right: var(--xy-contact-header-inline) !important;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-container {
    padding-left: var(--xy-contact-section-inline) !important;
    padding-right: var(--xy-contact-section-inline) !important;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-submit-module {
    padding-left: var(--xy-contact-section-inline);
    padding-right: var(--xy-contact-section-inline);
    box-sizing: border-box;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-local-faq-header {
    padding-left: var(--xy-contact-section-inline) !important;
    padding-right: var(--xy-contact-section-inline) !important;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-local-faq-list {
    padding-left: var(--xy-contact-section-inline) !important;
    padding-right: var(--xy-contact-section-inline) !important;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-blogs-header {
    padding-left: var(--xy-contact-section-inline) !important;
    padding-right: var(--xy-contact-section-inline) !important;
}

body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-blogs-wrapper,
body.page-template-page-contact-us main.xy-contact-us-main .xy-contact-page-frame .xy-contact-blogs-controls {
    padding-left: var(--xy-contact-section-inline);
    padding-right: var(--xy-contact-section-inline);
    box-sizing: border-box;
}

/* ========== 规则 11：精确指针 hover ========== */
@media (hover: hover) and (pointer: fine) {
    body.page-template-page-contact-us .xy-contact-blogs-link {
        transition: color 0.2s ease, opacity 0.2s ease;
    }

    body.page-template-page-contact-us .xy-contact-submit {
        transition: background 0.25s ease;
    }
}
