/* WordPress adapter: keep the supplied static CSS intact and only bridge dynamic markup. */
body.admin-bar #header.downscrolled{top:32px}
@media(max-width:782px){body.admin-bar #header.downscrolled{top:0px}}
.velaxiz-text-logo{display:inline-flex;align-items:center;min-height:40px;color:#fff;font-weight:800;font-size:25px;letter-spacing:.08em;white-space:nowrap}
.header-top-inner .social-icon a,.footer .socials a{display:inline-flex;align-items:center;justify-content:center;font-weight:700;text-decoration:none}
.velaxiz-contact-icon{display:inline-block;margin-right:8px;font-size:16px}
.btn-menu,.show-search,.close-btn{border:0;background:transparent;padding:0;cursor:pointer}
.top-search{display:none}.top-search.is-open{display:block}
/* Phase 08 Header / Navigation bridge: preserve the static hover treatment for WordPress current states. */
#mainnav ul.menu>li.current-menu-item>a::before,#mainnav ul.menu>li.current-menu-ancestor>a::before,#mainnav ul.menu>li.current-menu-parent>a::before{transform:scale3d(1,1,1)}
#mainnav .submenu li.current-menu-item>a,#mainnav .submenu li.current-menu-ancestor>a{color:var(--primary)!important}
#mainnav-mobi .submenu li.current-menu-item>a,#mainnav-mobi .submenu li.current-menu-ancestor>a{color:var(--primary)!important}

.velaxiz-empty{padding:50px 20px;text-align:center;background:#f7f8fa;color:#666}
.velaxiz-content{line-height:1.75}.velaxiz-content p{margin:0 0 1em}.velaxiz-content img{max-width:100%;height:auto}
.product-card img,.app__img img,.case-conts img,.blog-liinks img,.support-video-item img{width:100%;height:100%;object-fit:cover}
.product-card .product-image{overflow:hidden}
.velaxiz-category-description{margin-top:10px}
.velaxiz-term-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.velaxiz-term-card{display:block;text-decoration:none;color:inherit;background:#fff}
.velaxiz-term-card__image{aspect-ratio:4/3;overflow:hidden}.velaxiz-term-card__image img{width:100%;height:100%;object-fit:cover}
.velaxiz-term-card__body{padding:18px}.velaxiz-term-card__body h3{margin:0 0 8px}
.velaxiz-download-list{display:grid;gap:14px}.velaxiz-download-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 18px;background:#f5f7fa}
.velaxiz-download-row a{font-weight:700}.velaxiz-tax-tabs{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:24px auto}.velaxiz-tax-tabs a{padding:10px 18px;border:1px solid #d8dde5;text-decoration:none}.velaxiz-tax-tabs a.active{background:#0b3d78;color:#fff;border-color:#0b3d78}
.support-video-item a{display:block;color:inherit;text-decoration:none}
.support-video-item .img_box{position:relative}.support-video-item .play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center}
.page-template-page-support-downloads .download-main,.page-template-page-support-videos .support-video{min-height:400px}
.search-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:40px 0}.search-result-card{padding:24px;background:#fff;border:1px solid #edf0f3}.search-result-card a{text-decoration:none;color:inherit}
@media(max-width:991px){.velaxiz-term-grid,.search-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.velaxiz-term-grid,.search-results-grid{grid-template-columns:1fr}.header-top-inner .address{gap:8px;flex-wrap:wrap}.velaxiz-text-logo{font-size:20px}}
/* Dynamic-template structural styles for sections whose static source was incomplete. */
.about-nav>.themeflat-container2{display:flex;gap:28px;overflow:auto;white-space:nowrap;padding-top:18px;padding-bottom:18px}.about-nav a{color:inherit;text-decoration:none;font-weight:600}
.about-infos .about-infos-flex{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}.about-infos .about-infos-flex .img_box img{width:100%;height:auto}
.about-process-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.about-process-list .item{padding:24px;background:#fff;border-top:3px solid #0b3d78}.about-process-list .year{font-size:28px;font-weight:700;margin-bottom:12px}.about-process-list h3{margin:0 0 10px}.about-process-list p{line-height:1.6}
.about-team-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.about-team-list .img_box{aspect-ratio:4/5;overflow:hidden}.about-team-list .img_box img{width:100%;height:100%;object-fit:cover}.about-team-list .tits{font-weight:700;font-size:20px;margin-top:14px}.about-team-list .texts{margin-top:6px;color:#6b7280}
.about-strength-process{padding:80px 0}
.support-howbuy{padding:80px 0}.howbuy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.howbuy-card{position:relative;padding:30px;background:#fff;border:1px solid #e7ebf0;min-height:220px}.howbuy-index{display:block;font-size:42px;font-weight:800;opacity:.12;margin-bottom:12px}.howbuy-card h2{font-size:22px;margin:0 0 12px}.howbuy-card p{line-height:1.65;color:#5d6470}
/* Downloads v1.6: carter.css/media.css are the visual source of truth. Only bridge dynamic states here. */
.download-navs-items{user-select:none}.download-items[hidden]{display:none!important}.download-items .links{color:inherit;text-decoration:none}.download-items .links.is-disabled{opacity:.45;pointer-events:none}.download-main [data-download-empty]{margin-top:35px}
.solution-details-content{
    display:block;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:45px;
    align-items:start;
}
.solution-details-content>.img_box img{width:100%;height:auto}
.case-details-gallery{margin:30px 0}.case-details-gallery .img_box{aspect-ratio:16/9}.case-details-gallery img{width:100%;height:100%;object-fit:cover}
@media(max-width:991px){.about-process-list{grid-template-columns:repeat(2,minmax(0,1fr))}.about-team-list{grid-template-columns:repeat(2,minmax(0,1fr))}.howbuy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.solution-details-content{grid-template-columns:1fr}}
@media(max-width:767px){.about-infos .about-infos-flex,.about-process-list,.about-team-list,.howbuy-grid{grid-template-columns:1fr}}
/* Contact Form 7 bridge: preserve the static form layout without touching global button styles. */
.velaxiz-cf7-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.velaxiz-cf7-grid label{display:grid;gap:8px;font-weight:600}
.velaxiz-cf7-grid .full{grid-column:1/-1}
.velaxiz-cf7-grid .wpcf7-form-control-wrap{display:block;width:100%}
.velaxiz-cf7-grid input:not([type="submit"]),.velaxiz-cf7-grid textarea{width:100%;box-sizing:border-box;padding:14px 15px;border:1px solid #d7dce2;background:#fff;font:inherit}
.velaxiz-cf7-grid textarea{min-height:130px;resize:vertical}
.velaxiz-cf7-grid input[type="submit"]{width:max-content;min-width:150px;padding:14px 26px;border:0;cursor:pointer}
.newsletter__form--cf7 .wpcf7-form{margin:0}.newsletter__form--cf7 .wpcf7-form>p{margin:0}
.newsletter-form-row{display:flex;align-items:stretch;gap:10px;width:100%}
.newsletter-form-row .wpcf7-form-control-wrap{display:block;flex:1 1 auto;min-width:0}
.newsletter-form-row input[type="email"]{width:100%;height:100%;box-sizing:border-box}
.newsletter-form-row input[type="submit"]{flex:0 0 auto;white-space:nowrap;cursor:pointer}
.newsletter__form--cf7 .wpcf7-spinner{margin:8px 0 0}.newsletter__form--cf7 .wpcf7-response-output{margin:10px 0 0!important}
@media(max-width:767px){.velaxiz-cf7-grid{grid-template-columns:1fr}.velaxiz-cf7-grid .full{grid-column:auto}.newsletter-form-row{flex-direction:column}.newsletter-form-row input[type="submit"]{width:100%}}

/* Contact Form 7 adds wrapper elements around the original static form.
 * Re-apply the source flex layout to the actual CF7 <form> instead of the outer wrapper. */
.contact-form-box {
    display: block;
    margin: 0;
}
.contact-form-box .wpcf7,
.contact-form-box .wpcf7-form {
    width: 100%;
}
.contact-form-box .wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
    gap: 16px 0;
}
.contact-form-box .wpcf7-form > p {
    display: contents;
}
.contact-form-box .wpcf7-spinner,
.contact-form-box .wpcf7-response-output {
    width: 100%;
}
.velaxiz-anchor-alias {
    position: relative;
    top: -100px;
    visibility: hidden;
}

/* CF7 [submit] renders an input rather than the source <button>; mirror the source button rules. */
.contact-form-box input[type="submit"] {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #166DBB;
    color: #fff;
    font-size: 18px;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.5s;
}
.contact-form-box input[type="submit"]:hover { background: #0f5796; }

/* v1.3.0 Solutions: keep the supplied static Solution DOM while allowing CF7/local Media Library data. */
.app-section .app__img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.solution-details-img{aspect-ratio:735/409;overflow:hidden}
.solution-details-img img{width:100%;height:100%;object-fit:cover;display:block}
.solution-form .wpcf7-form{margin:0;padding:0}
.solution-form .wpcf7-form .form__row{margin-bottom:20px}
.solution-form .wpcf7-form .wpcf7-form-control-wrap{display:block;width:100%}
.solution-form .wpcf7-form .field{display:block;width:100%}
.solution-form .wpcf7-form .field--message{margin-bottom:28px}
.solution-form .wpcf7-form .wpcf7-spinner{vertical-align:middle;margin-left:12px}
.solution-form .wpcf7-form .wpcf7-response-output{margin:18px 0 0;padding:10px 14px}

/* v1.4.1 Projects: only bridge WordPress-specific markup.
 * Do not re-layout the supplied Case pages here: carter.css/media.css remain the visual source of truth. */
.case-pop-info .tits{display:block;text-decoration:none}
.case-pop-info .texts span{font-weight:700;margin-right:5px}
.case-big-flexs .lefts .imgs img{object-fit:cover;display:block}
.case-details-back svg{display:block}
.case-group .case-conts{width:100%;text-decoration:none}
.case-group .case-group-link{display:block;width:100%;text-decoration:none}
.case-group .case-group-link .img_box,.case-group .case-conts .img_box{width:100%;padding-top:60%}
.case-group .case-group-link .img_box img,.case-group .case-conts .img_box img{width:100%;height:100%;object-fit:cover}
.mod-braeds-item .mod-braeds-current{font-size:16px;color:#fff;line-height:1.65;flex-shrink:0}

/* v1.5.0 Blog: keep blog.html/blog_details.html as the visual source of truth. */
.blog-liinks .img_box img,.blogdeta-hd .rights .img_box img,.blogdeta-group-list .img_box img{width:100%;height:100%;object-fit:cover;display:block}
.blogdeta-hd .lefts .infos img{object-fit:cover}
.blogdeta-edit p img{width:100%;height:auto;display:block}
.blogdeta-form.velaxiz-blog-cf7{display:block;margin:0}
.velaxiz-blog-cf7 .wpcf7-form{display:flex;flex-wrap:wrap;margin:0 -5px;gap:10px 0}
.velaxiz-blog-cf7 .wpcf7-form>p{display:contents}
.velaxiz-blog-cf7 .wpcf7-form-control-wrap{display:block;width:100%}
.velaxiz-blog-cf7 .wpcf7-spinner,.velaxiz-blog-cf7 .wpcf7-response-output{width:100%;margin-left:5px;margin-right:5px}
.velaxiz-blog-cf7 .blogdeta-form-item input[type=submit]{width:100%;height:46px;background:var(--primary);color:#fff;font-size:16px;border:0;cursor:pointer}

/* v1.5.1 Global media + CF7 parity repair.
 * The supplied static CSS remains the visual source of truth.
 * These rules only normalize WordPress/CF7 wrappers and force fixed-ratio
 * media to behave like the original .img_box implementation.
 */

/* ---- Media frames: prevent intrinsic image dimensions / WP attributes from shrinking media. ---- */
.page-shell .product-image,
.app-section .app__media,
.solution-prducts .card__img,
.case-big-flexs .rights .img_box,
.case-conts .img_box,
.case-group .img_box,
.prodeta-case .img_box,
.blog-liinks .img_box,
.blogdeta-hd .rights .img_box,
.blogdeta-group-list .links .imgs .img_box {
    position: relative;
    overflow: hidden;
}
.page-shell .product-image > img,
.app-section .app__img > img,
.solution-prducts .card__img > img,
.case-big-flexs .rights .img_box > img,
.case-conts .img_box > img,
.case-group .img_box > img,
.prodeta-case .img_box > img,
.blog-liinks .img_box > img,
.blogdeta-hd .rights .img_box > img,
.blogdeta-group-list .links .imgs .img_box > img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}
.solution-prducts .card__img,
.blog-liinks .img_box,
.case-conts .img_box,
.case-group .img_box,
.prodeta-case .img_box {
    width: 100%;
}

/* WP can add width/height attributes and responsive-image inline sizing.
 * Keep source design ratios authoritative inside these cards. */
.blog-liinks img,
.case-conts img,
.case-group img,
.solution-prducts .card__img img,
.page-shell .product-image img {
    min-width: 100%;
    min-height: 100%;
}

/* ---- Contact Form 7: remove wrapper-driven layout changes. ---- */
.wpcf7,
.wpcf7 form {
    box-sizing: border-box;
}
.wpcf7 form p {
    margin: 0;
}
.wpcf7 .wpcf7-form-control-wrap {
    box-sizing: border-box;
}
.wpcf7 form .hidden-fields-container {
    display: none !important;
}

/* Contact page: the actual CF7 <form> receives contact-form-box. */
.contact-form .right > .wpcf7 {
    width: 100%;
}
form.contact-form-box {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
    gap: 16px 0;
}
form.contact-form-box .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
form.contact-form-box label {
    box-sizing: border-box;
}
form.contact-form-box input:not([type="submit"]),
form.contact-form-box textarea {
    box-sizing: border-box;
}
form.contact-form-box input[type="submit"] {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 0;
    outline: 0;
    border-radius: 6px;
    background: #166DBB;
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background .5s ease;
}
form.contact-form-box input[type="submit"]:hover {
    background: #0f5796;
}
form.contact-form-box .wpcf7-spinner {
    position: absolute;
    right: 12px;
    bottom: 14px;
    margin: 0;
}
form.contact-form-box .wpcf7-response-output {
    width: calc(100% - 16px);
    margin: 12px 8px 0 !important;
    box-sizing: border-box;
}

/* Solution detail: preserve the original 3-column row + full-width textarea. */
.solution-form .wpcf7 {
    width: 100%;
}
.solution-form form.velaxiz-solution-cf7-form {
    position: relative;
    margin: 0;
    padding: 0;
}
.solution-form form.velaxiz-solution-cf7-form .form__row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}
.solution-form form.velaxiz-solution-cf7-form .form__row > .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    min-width: 0;
}
.solution-form form.velaxiz-solution-cf7-form > .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.solution-form form.velaxiz-solution-cf7-form .field {
    box-sizing: border-box;
}
.solution-form form.velaxiz-solution-cf7-form input[type="submit"].form__btn {
    width: auto;
    min-width: 0;
}
.solution-form form.velaxiz-solution-cf7-form .wpcf7-spinner {
    vertical-align: middle;
    margin: 0 0 0 12px;
}
.solution-form form.velaxiz-solution-cf7-form .wpcf7-response-output {
    width: 100%;
    margin: 18px 0 0 !important;
    box-sizing: border-box;
}

/* Blog detail: the real CF7 <form> receives the original blogdeta-form class. */
.velaxiz-blog-cf7,
.velaxiz-blog-cf7 > .wpcf7 {
    width: 100%;
}
.velaxiz-blog-cf7 form.blogdeta-form {
    position: relative;
}
.velaxiz-blog-cf7 form.blogdeta-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.velaxiz-blog-cf7 form.blogdeta-form input,
.velaxiz-blog-cf7 form.blogdeta-form textarea {
    box-sizing: border-box;
}
.velaxiz-blog-cf7 form.blogdeta-form input[type="submit"] {
    width: 100%;
    height: 46px;
    padding: 0;
    border: 0;
    outline: 0;
    background: var(--primary);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: all .5s;
}
.velaxiz-blog-cf7 form.blogdeta-form .wpcf7-spinner {
    position: absolute;
    right: 12px;
    bottom: 12px;
    margin: 0;
}
.velaxiz-blog-cf7 form.blogdeta-form .wpcf7-response-output {
    width: calc(100% - 10px);
    margin: 12px 5px 0 !important;
    box-sizing: border-box;
}

/* Footer Newsletter: put the source class on the actual CF7 <form>, not a wrapper. */
.footer .newsletter__form-host {
    display: block;
    flex: 0 0 auto;
}
.footer .newsletter__form-host > .wpcf7 {
    display: block;
    margin: 0;
}
.footer form.newsletter__form {
    position: relative;
    display: flex !important;
    align-items: stretch;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: auto;
    height: 46px !important;
    margin: 0 !important;
}
.footer form.newsletter__form > .wpcf7-form-control-wrap {
    display: block;
    flex: 0 0 200px;
    width: 200px;
    height: 46px;
}
.footer form.newsletter__form .newsletter__input {
    display: block;
    width: 100% !important;
    height: 46px !important;
    box-sizing: border-box;
}
.footer form.newsletter__form input[type="submit"].newsletter__btn {
    display: block;
    flex: 0 0 auto;
    width: auto !important;
    height: 46px !important;
    margin: 0 !important;
    border: 0;
    padding: 0 22px;
    white-space: nowrap;
}
.footer form.newsletter__form .wpcf7-spinner {
    position: absolute;
    right: -30px;
    top: 13px;
    margin: 0;
}
.footer form.newsletter__form .wpcf7-response-output {
    position: absolute;
    left: 0;
    top: 50px;
    width: 100%;
    margin: 0 !important;
    padding: 4px 6px;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 1.3;
    background: #fff;
    color: #1b2547;
    z-index: 5;
}

@media (max-width: 780px) {
    .solution-form form.velaxiz-solution-cf7-form .form__row {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 767px) {
    .footer .newsletter__form-host,
    .footer .newsletter__form-host > .wpcf7,
    .footer form.newsletter__form {
        width: 100%;
    }
    .footer form.newsletter__form > .wpcf7-form-control-wrap {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }
}




/* Products uses a normal WordPress submenu; the retired Mega Menu bridge was removed in v1.25. */

/* v1.10.4: canonical media-fit guard for fixed-ratio dynamic content frames.
 * ACF stores original attachments; templates request hard-cropped derivatives,
 * and these rules guarantee the rendered image fills the supplied static frame
 * even when an editor later uploads a different intrinsic aspect ratio. */
.home-product .card__image img,
.home-solution .card__img img,
.home-case .card__img img,
.home-about .about__media img,
.home-factory .card__img img,
.mega .feature__img img,
.mega .series__thumb img,
.solution-section .img_box img,
.product-app-content .img_box img,
.product-series-content .img_box img,
.download-items .left .imgs .img_box img,
.contact-form .img_box img,
.about-intro .img_box img,
.about-team .img_box img,
.about-strength .img_box img,
.about-honoe .img_box img,
.case-lists .img_box img,
.case-pop .img_box img,
.blog-liinks .img_box img,
.blogdeta-group-list .img_box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* The supplied static stylesheet places Home Factory images at z-index:-1,
 * which can hide real ACF images once the background placeholder is removed. */
.home-factory .card__img img {
    z-index: 1;
}

/* Footer source placeholders are decorative and not seeded content, but when a
 * real certificate image is configured later it must fill the 64x64 circle. */
.footer .cert img {
    object-fit: cover;
    object-position: center;
}

/* Product capability badges are supplied as wide 13:6 artwork while the
 * original detail shell uses an 80x80 slot. Keep the artwork undistorted;
 * unlike photographic cards, certification/label artwork must not be cropped. */
.prodeta-iso-item img {
    object-fit: contain;
    object-position: center;
}

/* v1.12.2 Header parity repair.
 * Keep the original static header DOM/classes as the layout source of truth;
 * these rules only size SVG markup now supplied by ACF textarea fields. */
.header-top-inner .address a {
    display: inline-flex;
    align-items: center;
}
.header-top-inner .address a > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-right: 4px;
    transform: none;
}
.header-top-inner .social-icon a svg {
    display: block;
    width: 18px;
    height: 18px;
}
.btn-menu > svg,
.close-btn > svg {
    display: block;
    width: 28px;
    height: 28px;
}
.show-search svg {
    display: block;
    width: 20px;
    height: 20px;
}
.btn-submenu > svg {
    display: block;
    width: 18px;
    height: 18px;
}
/* Phase 16: Search / 404 structural layout. Content remains ACF/WordPress-managed. */
.velaxiz-search-page{padding:60px 0 80px}
.velaxiz-search-page .search-query-title{margin:0 0 32px;font-size:28px;line-height:1.3;font-weight:600;color:#1f2d3d}
.velaxiz-search-page .search-results-grid{margin-top:0}
.velaxiz-search-page .velaxiz-empty{grid-column:1/-1}
.velaxiz-404-page{padding:80px 0}
.velaxiz-404-inner{max-width:760px;margin:0 auto;text-align:center}
.velaxiz-404-inner h1{margin:0 0 20px}
.velaxiz-404-inner p{margin:0 auto 30px;max-width:680px}
@media(max-width:767px){.velaxiz-search-page{padding:40px 0 60px}.velaxiz-search-page .search-query-title{font-size:22px}.velaxiz-404-page{padding:55px 0}}
/* v1.25 document-final Product archive adjustments. */
.product-all-intro{margin-bottom:36px}
.product-all-heading{margin:0 0 24px}
.product-all-heading h2{margin:0;font-size:32px;line-height:1.2}
@media(max-width:768px){.product-all-intro{margin-bottom:26px}.product-all-heading h2{font-size:26px}}


/* v1.30 Product Certification Gallery */
@media (max-width: 767px) {
    .prodeta-Certification .img { width: 50%; }
}
@media (max-width: 479px) {
    .prodeta-Certification .img { width: 100%; }
}

/* v1.31.0 — shared customer feedback + structured Product detail modules. */
.prodeta-gallery-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px;
    margin-top:30px;
}
.prodeta-gallery-grid.is-certification{
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.prodeta-gallery-grid .img img{
    display:block;
    width:100%;
    height:auto;
}
.prodeta-parameter-table-wrap{
    margin-top:30px;
    overflow-x:auto;
}
.prodeta-parameter-table{
    width:100%;
    border-collapse:collapse;
}
.prodeta-parameter-table th,
.prodeta-parameter-table td{
    padding:14px 16px;
    border:1px solid #e2e5e9;
    text-align:left;
    vertical-align:top;
}
.prodeta-parameter-table th{
    width:34%;
    font-weight:600;
    background:#f7f8fa;
}
.prodeta-consult .wpcf7-form-control-wrap{
    display:block;
    width:100%;
}
.prodeta-consult .wpcf7-spinner{
    margin:8px 0 0;
}
.prodeta-consult .wpcf7-response-output{
    margin:18px 12px 0;
}
@media (max-width:991px){
    .prodeta-gallery-grid.is-certification{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width:767px){
    .prodeta-gallery-grid,
    .prodeta-gallery-grid.is-certification{
        grid-template-columns:1fr;
        gap:18px;
    }
}

/* v1.36.0 About carousel size repair.
 * Slick writes an inline width for every slide. Never override that width: the
 * v1.35 width:auto!important rule collapsed cards to their intrinsic content
 * width, producing tiny images with large blank gaps. We only neutralize the
 * legacy grid display on the slider list and let Slick own track/slide sizing. */
.about-team-lists.slick-initialized,
.about-strength-list.slick-initialized,
.about-honoe-slick.slick-initialized {
    display: block !important;
    width: 100%;
}
.about-strength-slick,
.about-honoe-box,
.about-team-box {
    position: relative;
    overflow: visible;
    width: 100%;
    min-width: 0;
}
.about-team-lists.slick-initialized .about-team-items,
.about-strength-list.slick-initialized .about-strength-item,
.about-honoe-slick.slick-initialized .about-honoe-item {
    box-sizing: border-box;
}
.about-team-lists.slick-initialized .about-team-conts .img_box,
.about-strength-list.slick-initialized .about-strength-content .img_box,
.about-honoe-slick.slick-initialized .about-honoe-content .img_box {
    width: 100%;
}
.about-team-lists.slick-initialized .about-team-conts .img_box {
    padding-top: 124.64985%;
}
.about-strength-list.slick-initialized .about-strength-content .img_box {
    padding-top: 70%;
}
.about-honoe-slick.slick-initialized .about-honoe-content .img_box {
    padding-top: 138%;
}
.about-team-lists.slick-initialized .img_box img,
.about-strength-list.slick-initialized .img_box img,
.about-honoe-slick.slick-initialized .img_box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/* Keep useful gutters even where the legacy responsive CSS changed cards to
 * grid items. The padding is included in Slick's calculated width because the
 * theme uses border-box globally. */
.about-team-lists.slick-initialized .about-team-items,
.about-strength-list.slick-initialized .about-strength-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
}
@media (max-width: 991px) {
    .about-team-lists.slick-initialized .about-team-items,
    .about-strength-list.slick-initialized .about-strength-item {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
@media (max-width: 767px) {
    .about-team-lists.slick-initialized .about-team-items,
    .about-strength-list.slick-initialized .about-strength-item {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}


/* v1.38 Project Detail: preserve the supplied Case Detail layout while allowing
 * project-owned narrative/meta content to remain readable inside case-edits. */
.case-details-flex .lefts .case-edits .case-project-meta{
    font-weight:500;
    color:#555;
}

/* v1.39 Project detail: keep the supplied static two-column layout; when a
 * Project has no sidebar relationships, let its own article use the full row. */
.case-details-flex--full .lefts{width:100%}

/* v1.40 Home Statistics: icons are real Media Library images. */
.stats-bar .stat-item > img.stat-icon{
    display:block;
    width:38px;
    height:38px;
    flex:0 0 38px;
    object-fit:contain;
}
.stats-bar .cert-icon-image{
    display:block;
    width:34px;
    height:34px;
    margin-bottom:5px;
}
.stats-bar .cert-icon-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}

/* v1.40 About Team: Image -> Name -> Description. Description is never clamped. */
.about-team-lists.slick-initialized .slick-track{
    display:flex;
    align-items:stretch;
}
.about-team-lists.slick-initialized .slick-slide{
    height:auto;
}
.about-team-lists.slick-initialized .slick-slide > div,
.about-team-lists.slick-initialized .about-team-items,
.about-team-lists.slick-initialized .about-team-conts{
    height:100%;
}
.about-team-conts .texts{
    display:block;
    -webkit-line-clamp:unset;
    overflow:visible;
    min-height:0 !important;
    margin-top:8px;
    font-size:14px;
    line-height:1.65;
    color:rgba(255,255,255,.82);
}
.about-team-conts .texts p{margin:0 0 8px}
.about-team-conts .texts p:last-child{margin-bottom:0}

/* v1.40 Product Relevant Cases: editable Image + Title cards. */
.prodeta-case-swiper .product-relevant-case-card .img_box{
    padding-top:60% !important;
    overflow:hidden;
}
.prodeta-case-swiper .product-relevant-case-card .img_box img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}
.prodeta-case-swiper .product-relevant-case-card .conts{
    display:block !important;
    padding:14px 12px;
    background:#f8f8f8;
}
.prodeta-case-swiper .product-relevant-case-card .conts .tits{
    min-height:0;
    margin:0;
    font-size:16px;
    line-height:1.45;
    font-weight:600;
    color:#111827;
    -webkit-line-clamp:2;
}

/* v1.63.7 Home Certification Marks are image-only. Keep uploaded brand marks
 * readable without forcing wide logos into the old square text/icon geometry. */
body.home .stats-bar .cert-icon-image{
    width:auto;
    height:38px;
    max-width:88px;
    margin:0;
}
body.home .stats-bar .cert-icon-image img{
    width:auto;
    max-width:100%;
    height:100%;
    object-fit:contain;
}

@media (max-width: 520px){
    body.home .stats-bar .cert-icon-image{height:34px;max-width:78px;}
}

/* v1.63.8 Product Categories sidebar: true taxonomy accordion.
 * Category names are navigation links; the separate right control only expands
 * and collapses descendants. The active taxonomy branch opens server-side. */
.page-shell .category-panel--tree{
    overflow:hidden;
    border-radius:8px;
    box-shadow:0 12px 36px rgba(31,50,71,.07);
}
.page-shell .category-panel--tree .category-title{
    padding:18px 20px;
    background:#fff;
    font-size:14px;
    line-height:1.35;
    letter-spacing:.055em;
}
.page-shell .category-tree,
.page-shell .category-children{
    margin:0;
    padding:0;
    list-style:none;
}
.page-shell .category-children[hidden]{
    display:none !important;
}
.page-shell .category-item{
    margin:0;
    padding:0;
    border-bottom:1px solid var(--line);
}
.page-shell .category-item:last-child{
    border-bottom:0;
}
.page-shell .category-children .category-item{
    border-bottom:1px solid rgba(220,226,231,.78);
}
.page-shell .category-children .category-item:last-child{
    border-bottom:0;
}
.page-shell .category-row{
    position:relative;
    display:flex;
    align-items:stretch;
    min-width:0;
    background:#fff;
}
.page-shell .category-children .category-row{
    background:#fbfcfe;
}
.page-shell .category-link{
    position:relative;
    display:flex;
    flex:1 1 auto;
    min-width:0;
    min-height:50px;
    align-items:center;
    padding:13px 14px 13px var(--vx-category-indent, 18px);
    color:#333b45;
    font-size:14px;
    font-weight:500;
    line-height:1.45;
    text-decoration:none;
    transition:background-color .2s ease,color .2s ease,padding-left .2s ease;
}
.page-shell .category-link::before{
    position:absolute;
    inset:0 auto 0 0;
    width:3px;
    background:#1479c9;
    content:"";
    opacity:0;
    transform:scaleY(.45);
    transition:opacity .2s ease,transform .2s ease;
}
.page-shell .category-link-label{
    min-width:0;
    overflow-wrap:anywhere;
}
.page-shell .category-link:hover,
.page-shell .category-link:focus-visible{
    padding-left:calc(var(--vx-category-indent, 18px) + 4px);
    background:#f4f8fc;
    color:#0b6db7;
    outline:none;
}
.page-shell .category-link.is-active{
    background:#e8f2ff;
    color:#096bb5;
    font-weight:700;
}
.page-shell .category-link.is-active::before{
    opacity:1;
    transform:scaleY(1);
}
.page-shell .category-item.is-ancestor > .category-row > .category-link{
    color:#0b6db7;
    font-weight:650;
}
.page-shell .category-toggle{
    display:flex;
    flex:0 0 48px;
    width:48px;
    min-height:50px;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:0;
    border:0;
    border-left:1px solid var(--line);
    background:#fff;
    color:#617184;
    cursor:pointer;
    transition:background-color .2s ease,color .2s ease;
}
.page-shell .category-children .category-toggle{
    background:#fbfcfe;
}
.page-shell .category-toggle:hover,
.page-shell .category-toggle:focus-visible{
    background:#eef6fd;
    color:#0b73c1;
    outline:2px solid transparent;
}
.page-shell .category-toggle:focus-visible{
    box-shadow:inset 0 0 0 2px #1682d4;
}
.page-shell .category-toggle svg{
    width:17px;
    height:17px;
    transition:transform .22s ease;
}
.page-shell .category-item.is-open > .category-row > .category-toggle svg{
    transform:rotate(180deg);
}
.page-shell .category-item.is-open > .category-row > .category-toggle{
    background:#f4f9fd;
    color:#0b73c1;
}

@media (max-width:760px){
    .page-shell .category-panel--tree{
        margin-bottom:30px;
        border:1px solid var(--line);
        border-radius:8px;
        box-shadow:0 8px 24px rgba(31,50,71,.06);
    }
    .page-shell .category-panel--tree .category-title{
        padding:16px 18px;
    }
    .page-shell .category-tree{
        display:block;
        overflow:visible;
        padding:0;
    }
    .page-shell .category-tree .category-item{
        width:100%;
        flex:none;
    }
    .page-shell .category-link{
        width:auto;
        min-height:48px;
        padding-top:12px;
        padding-right:14px;
        padding-bottom:12px;
        border:0 !important;
        border-radius:0;
        white-space:normal;
    }
    .page-shell .category-link:hover,
    .page-shell .category-link:focus-visible{
        padding-left:calc(var(--vx-category-indent, 18px) + 4px);
    }
    .page-shell .category-toggle{
        min-height:48px;
    }
}

/* Home header background spans the viewport while the inner navigation remains constrained. */
body.home #header{
  width:100%;
  max-width:none;
  align-self:stretch;
}
