/* ==========================================================================
   INSV Industry Areas Swiper
   --------------------------------------------------------------------------
   Single visual source for the application-area carousel on:
   - /cn/inspection/ and /cn/reverse-engineering/
   - /en/inspection/ and /en/reverse-engineering/

   Match the production .com/.cn module:
   full-width light section, 1360px carousel, 4 cards per view,
   one-row rolling carousel with arrows.
   ========================================================================== */

#insv_ia_areas_module.insv-ia-module-block {
    width: 100% !important;
    max-width: none !important;
    min-height: 300px !important;
    margin: 0 !important;
    padding: 3rem 0 !important;
    box-sizing: border-box !important;
    background: #f6f9fb !important;
    overflow: visible !important;
    --insv-ia-title: #333333;
    --insv-ia-heading: #202945;
    --insv-ia-hover: #00a7ec;
    --insv-ia-nav-bg: rgba(125, 174, 218, 0.62);
    --insv-ia-nav-bg-hover: rgba(69, 138, 201, 0.75);
    --insv-ia-nav-border: rgba(111, 151, 198, 0.62);
    --insv-ia-nav-icon: #ffffff;
}

#insv_ia_areas_module .e_h4-12 {
    margin: 0 0 30px !important;
    text-align: center !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    color: var(--insv-ia-heading) !important;
}

#insv_ia_areas_module .insv-ia-slider-shell {
    position: relative !important;
    width: 90% !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

#insv_ia_areas_module .insv-ia-category-swiper {
    position: relative !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
}

#insv_ia_areas_module .insv-ia-category-swiper .swiper-wrapper {
    align-items: stretch !important;
    box-sizing: border-box !important;
}

#insv_ia_areas_module .insv-ia-category-swiper .swiper-slide {
    height: auto !important;
    box-sizing: border-box !important;
}

/* Swiper's pre-init default is 100%-wide slides. Keep first paint aligned
   with the final 4-column carousel instead of flashing a giant first card. */
#insv_ia_areas_module .insv-ia-category-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    transform: none !important;
}

#insv_ia_areas_module .insv-ia-category-swiper:not(.swiper-initialized) .swiper-slide {
    width: auto !important;
    min-width: 0 !important;
    margin-right: 0 !important;
}

#insv_ia_areas_module .insv-ia-category-swiper:not(.swiper-initialized) .swiper-slide:nth-child(n+5),
#insv_ia_areas_module .insv-ia-category-swiper:not(.swiper-initialized) .swiper-button-prev,
#insv_ia_areas_module .insv-ia-category-swiper:not(.swiper-initialized) .swiper-button-next {
    display: none !important;
}

#insv_ia_areas_module .insv-ia-card {
    display: flex !important;
    flex-direction: column !important;
    width: 96% !important;
    height: calc(100% - 20px) !important;
    margin: 10px auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.5s ease !important;
}

#insv_ia_areas_module .insv-ia-card__media {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 75% !important;
    overflow: hidden !important;
    background: #edf3f9 !important;
    border-radius: 0 !important;
}

#insv_ia_areas_module .insv-ia-card__media img {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: block !important;
    width: auto !important;
    min-width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: translate(-50%, -50%) !important;
    transition: all 0.5s ease !important;
}

#insv_ia_areas_module .insv-ia-card:hover {
    background: var(--insv-ia-hover) !important;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15) !important;
}

#insv_ia_areas_module .insv-ia-card:hover * {
    color: #ffffff !important;
}

#insv_ia_areas_module .insv-ia-card:hover .insv-ia-card__media img {
    transform: translate(-50%, -50%) scale(1.05) !important;
}

#insv_ia_areas_module .insv-ia-card__title {
    display: -webkit-box !important;
    margin: 10px 0 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: normal !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    color: var(--insv-ia-title) !important;
}

#insv_ia_areas_module .insv-ia-card__title a {
    color: inherit !important;
    text-decoration: none !important;
}

#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-prev,
#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-next {
    color: var(--insv-ia-nav-icon) !important;
    width: 42px !important;
    height: 42px !important;
    top: 50% !important;
    margin-top: 0 !important;
    transform: translateY(-50%) !important;
    background: var(--insv-ia-nav-bg) !important;
    border: 1px solid var(--insv-ia-nav-border) !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 12px rgba(16, 52, 102, 0.13) !important;
    z-index: 4 !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-prev {
    left: -54px !important;
}

#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-next {
    right: -54px !important;
}

#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-prev::after,
#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-next::after {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 42px !important;
    color: var(--insv-ia-nav-icon) !important;
}

#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-prev:focus,
#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-next:focus {
    outline: none !important;
    box-shadow: 0 4px 12px rgba(16, 52, 102, 0.13) !important;
}

#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-prev:focus-visible,
#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-next:focus-visible {
    box-shadow:
        0 0 0 3px rgba(31, 76, 150, 0.28),
        0 4px 12px rgba(16, 52, 102, 0.13) !important;
}

#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-prev:hover,
#insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-next:hover {
    background: var(--insv-ia-nav-bg-hover) !important;
    border-color: rgba(86, 142, 193, 0.82) !important;
}

@media (max-width: 1199px) {
    #insv_ia_areas_module .insv-ia-category-swiper:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #insv_ia_areas_module .insv-ia-category-swiper:not(.swiper-initialized) .swiper-slide:nth-child(n+3) {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #insv_ia_areas_module.insv-ia-module-block {
        padding: 1rem 0 !important;
    }

    #insv_ia_areas_module .e_h4-12 {
        margin-bottom: 18px !important;
        font-size: 24px !important;
    }

    #insv_ia_areas_module .insv-ia-slider-shell {
        width: calc(100% - 24px) !important;
    }

    #insv_ia_areas_module .insv-ia-category-swiper:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: 1fr !important;
    }

    #insv_ia_areas_module .insv-ia-category-swiper:not(.swiper-initialized) .swiper-slide:nth-child(n+2) {
        display: none !important;
    }

    #insv_ia_areas_module .insv-ia-card {
        padding: 5px !important;
    }

    #insv_ia_areas_module .insv-ia-card__title {
        font-size: 16px !important;
    }

    #insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-prev,
    #insv_ia_areas_module .insv-ia-slider-shell > .swiper-button-next {
        display: none !important;
    }
}

/* === IA areas: single-card mobile viewport polish (r26mobile03) START === */
@media (max-width: 767px) {
    #insv_ia_areas_module .insv-ia-slider-shell,
    #insv_ia_areas_module .insv-ia-category-swiper {
        overflow: hidden !important;
    }

    #insv_ia_areas_module .insv-ia-category-swiper.swiper-initialized .swiper-slide {
        width: 100% !important;
    }

    #insv_ia_areas_module .insv-ia-category-swiper.swiper-initialized .swiper-slide:not(.swiper-slide-active),
    #insv_ia_areas_module .insv-ia-category-swiper.swiper-initialized .swiper-slide:not(.swiper-slide-active) * {
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #insv_ia_areas_module .insv-ia-card {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 8px !important;
        border: 1px solid #e1e8f2 !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 22px rgba(15, 35, 70, .06) !important;
    }

    #insv_ia_areas_module .insv-ia-card__media {
        border-radius: 6px !important;
    }

    #insv_ia_areas_module .insv-ia-card__title {
        min-height: 24px !important;
        line-height: 1.45 !important;
        -webkit-line-clamp: 2 !important;
    }
}
/* === IA areas: single-card mobile viewport polish (r26mobile03) END === */

/* Our strengths icon fallback for inspection / reverse-engineering pages. */
body.page-id-10 #c_static_1178-17591555461030 .e_icon-12,
body.page-id-12 #c_static_1178-17591555461030 .e_icon-12,
body.page-id-1361 #c_static_1178-17591555461030 .e_icon-12,
body.page-id-1367 #c_static_1178-17591555461030 .e_icon-12 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: none !important;
    background-image: none !important;
}

body.page-id-10 #c_static_1178-17591555461030 .e_icon-12::before,
body.page-id-12 #c_static_1178-17591555461030 .e_icon-12::before,
body.page-id-1361 #c_static_1178-17591555461030 .e_icon-12::before,
body.page-id-1367 #c_static_1178-17591555461030 .e_icon-12::before {
    content: "" !important;
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto !important;
    background-color: currentColor !important;
    -webkit-mask-repeat: no-repeat !important;
    -webkit-mask-position: center center !important;
    -webkit-mask-size: contain !important;
    mask-repeat: no-repeat !important;
    mask-position: center center !important;
    mask-size: contain !important;
}

body.page-id-10 #c_static_1178-17591555461030 .cbox-10:nth-child(1) .e_icon-12::before,
body.page-id-12 #c_static_1178-17591555461030 .cbox-10:nth-child(1) .e_icon-12::before,
body.page-id-1361 #c_static_1178-17591555461030 .cbox-10:nth-child(1) .e_icon-12::before,
body.page-id-1367 #c_static_1178-17591555461030 .cbox-10:nth-child(1) .e_icon-12::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z'/><path fill='black' d='M12 6a6 6 0 1 0 6 6 6 6 0 0 0-6-6zm0 10a4 4 0 1 1 4-4 4 4 0 0 1-4 4z'/><circle fill='black' cx='12' cy='12' r='2'/></svg>") !important;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z'/><path fill='black' d='M12 6a6 6 0 1 0 6 6 6 6 0 0 0-6-6zm0 10a4 4 0 1 1 4-4 4 4 0 0 1-4 4z'/><circle fill='black' cx='12' cy='12' r='2'/></svg>") !important;
}

body.page-id-10 #c_static_1178-17591555461030 .cbox-10:nth-child(2) .e_icon-12::before,
body.page-id-12 #c_static_1178-17591555461030 .cbox-10:nth-child(2) .e_icon-12::before,
body.page-id-1361 #c_static_1178-17591555461030 .cbox-10:nth-child(2) .e_icon-12::before,
body.page-id-1367 #c_static_1178-17591555461030 .cbox-10:nth-child(2) .e_icon-12::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M13 2L3 14h7l-1 8 11-14h-7z'/></svg>") !important;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M13 2L3 14h7l-1 8 11-14h-7z'/></svg>") !important;
}

body.page-id-10 #c_static_1178-17591555461030 .cbox-10:nth-child(3) .e_icon-12::before,
body.page-id-12 #c_static_1178-17591555461030 .cbox-10:nth-child(3) .e_icon-12::before,
body.page-id-1361 #c_static_1178-17591555461030 .cbox-10:nth-child(3) .e_icon-12::before,
body.page-id-1367 #c_static_1178-17591555461030 .cbox-10:nth-child(3) .e_icon-12::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3 3h7v7H3zm11 0h7v7h-7zM3 14h7v7H3zm11 0h7v7h-7z'/></svg>") !important;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3 3h7v7H3zm11 0h7v7h-7zM3 14h7v7H3zm11 0h7v7h-7z'/></svg>") !important;
}

body.page-id-10 #c_static_1178-17591555461030 .cbox-10:nth-child(4) .e_icon-12::before,
body.page-id-12 #c_static_1178-17591555461030 .cbox-10:nth-child(4) .e_icon-12::before,
body.page-id-1361 #c_static_1178-17591555461030 .cbox-10:nth-child(4) .e_icon-12::before,
body.page-id-1367 #c_static_1178-17591555461030 .cbox-10:nth-child(4) .e_icon-12::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4a2 2 0 0 0-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7A1.5 1.5 0 1 1 7 5.5 1.5 1.5 0 0 1 5.5 7z'/></svg>") !important;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4a2 2 0 0 0-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7A1.5 1.5 0 1 1 7 5.5 1.5 1.5 0 0 1 5.5 7z'/></svg>") !important;
}

body.page-id-10 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_icon-12,
body.page-id-12 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_icon-12,
body.page-id-1361 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_icon-12,
body.page-id-1367 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_icon-12,
body.page-id-10 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_text-13,
body.page-id-12 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_text-13,
body.page-id-1361 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_text-13,
body.page-id-1367 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_text-13 {
    color: #183883 !important;
}

body.page-id-10 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_richText-17,
body.page-id-12 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_richText-17,
body.page-id-1361 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_richText-17,
body.page-id-1367 #c_static_1178-17591555461030 .e_container-11:not(:hover) .e_richText-17 {
    color: #666 !important;
}
