a.glink {color:#000;}

.contactus {display: flex;flex-direction: column;margin-bottom: 4rem;}
.contactus input {width: 100%;}
.contactus textarea {width: 100%; margin-bottom: 2rem; height: 10rem!important;}
.contactus .formbtn {cursor: pointer; font-weight: bold;}
.social-media a:hover {text-decoration: none;}

.custom-posts-archive-with-filter-filters,.description-and-details-aside {position: sticky; background-color: #eaeaea; top: 120px; z-index: 9; align-self: flex-start;}

.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.bgafterno:after {background: none;}

table.protechdata {width: 100%; border-collapse: collapse; border: 1px solid #e0e0e0; font-size: 14px; text-align: center;}
table.protechdata th,table.protechdata td {border: 1px solid #e0e0e0; padding: 8px;}
table.protechdata thead tr { background-color: #fafafa;}
table.protechdata tbody tr:nth-child(odd) {  background-color: #ffffff;}
table.protechdata tbody tr:nth-child(even) {  background-color: #fafafa;}


.case-study-container {
    background-color: var(--bg-section);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    padding: 30px 60px 0px;
}
.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.case-study-column h4 {
    font-size: 20px;
    color: var(--text-primary);
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}
.case-study-column .icon {
    width: 24px;
    height: 24px;
    color: var(--industry-red);
    flex-shrink: 0;
}
.case-study-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.case-study-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}
.case-study-list li::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23e4002b'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 5px;
}
.case-study-testimonial {
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 50px;
}
.case-study-testimonial blockquote {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-style: italic;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto 20px auto;
    border: 0;
    line-height: 1.7;
}
.case-study-testimonial .attribution {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
}


:root {
  --industry-blue: #1567a1;
  --industry-red: #c00000;
  --bg-light: #f4f8fb;
  --border-color: #eef1f5;
  --text-main: #333;
}
.responsive-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1200px;
  margin: 0px auto 0px;
  padding: 0 0px;
}
/* 胶囊按钮样式 */
.tab-pill {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: #fff;
  color: #444;
  font-weight: 600;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.tab-item.active .tab-pill {
  background: var(--industry-blue);
  color: #fff;
  border-color: var(--industry-blue);
  box-shadow: 0 4px 10px rgba(26, 66, 122, 0.2);
}
/* --- PC端：内容区全宽平铺逻辑 --- */
@media (min-width: 768px) {
  .tab-item { display: contents; } /* 让子元素直接参与外层flex排列 */
  .tab-panel {
    display: none;
    width: 100%;
    order: 99; /* 确保内容区出现在所有按钮下方 */
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }
  .tab-item.active .tab-panel { display: block; animation: fadeIn 0.4s ease; }
}
/* --- 移动端：手风琴逻辑 --- */
@media (max-width: 767px) {
  .responsive-tabs { flex-direction: column; gap: 0; }
  .tab-item { border-bottom: 1px solid var(--border-color); width: 100%; }
  .tab-pill {
    border: none; border-radius: 0; width: 100%; padding: 18px;
    text-align: left; position: relative;
  }
  .tab-pill::after { content: '+'; position: absolute; right: 20px; }
  .tab-item.active .tab-pill::after { content: '-'; }
  
  .tab-panel {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .tab-item.active .tab-panel { max-height: 2000px; }
}
/* --- 内容区内部排版 (图片还原) --- */
.panel-inner { padding: 30px; }
.tech-title { color: var(--industry-red); font-size: 2rem; margin-bottom: 8px; }
.tech-title a {color: var(--industry-red); text-decoration:none; }
.tech-title a:hover {text-decoration: underline;}
.tech-conditions { 
  font-size: 1.6rem; color: #666; padding-bottom: 15px; 
  border-bottom: 1px solid var(--border-color); margin-bottom: 25px; 
}
.tech-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.section-title { font-size: 1.8rem; border-bottom: 2px solid var(--border-color); padding-bottom: 8px; margin-bottom: 15px; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 25px; margin-bottom: 12px; font-size: 1.6rem; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--industry-red); font-weight: bold; }

.reasoning-box {
  margin-top: 30px; padding: 20px; background: var(--bg-light);
  border-left: 5px solid var(--industry-blue); border-radius: 4px;
}
.reasoning-title { font-size: 1.6rem; margin-bottom: 10px; }
.reasoning-box p { font-size: 1.6rem; line-height: 1.6; margin-bottom: 8px; color: #444; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* The first section doesn't need top padding */
.section-header {
    text-align: center;
    margin: 40px 0 20px;
}
.section-subtitle {
    font-family: 'Inter', sans-serif;
    text-transform: none;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
.cta-button {
    display: inline-block;
    background-color: var(--industry-red);
    color: white;
    padding: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-soft);
}
.cta-button:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

    /* --- 6. Engineering & Other Sections --- */
    /*.section1 { padding-top: var(--spacing-desktop); padding-bottom: var(--spacing-desktop); background-color: white; }*/
    .tech-advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 60px; }
    .tech-advantage-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: var(--shadow-soft); }
    .tech-advantage-card .icon { width: 36px; height: 36px; color: var(--industry-red); margin-bottom: 20px; }
    .tech-advantage-card h4 { font-size: 22px; margin: 0 0 10px 0; }
    .cnc-gallery-wrapper { background-color: white; padding: 40px; border-radius: 12px; box-shadow: var(--shadow-soft); margin-bottom: 60px;}
    .cnc-gallery-wrapper h3 { font-size: 28px; margin: 0 0 30px 0; text-align: center; }
    .cnc-gallery-wrapper h4 { font-size: 22px; margin: 0 0 20px 0; text-align: center; }
    .image-gallery-container { display: flex; flex-wrap: nowrap; gap: 15px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 15px; }
    .gallery-item { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
    .gallery-item img { height: 180px; width: auto; border-radius: 8px; box-shadow: var(--shadow-soft); }
    .gallery-item .caption { font-size: 14px; color: var(--text-secondary); margin-top: 8px; max-width: 180px; text-align: center; }
    .certification-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; margin-top: 60px; }
    .certification-item { background: white; text-align: center; padding: 20px; border-radius: 8px; box-shadow: var(--shadow-soft); }
    .certification-item img { height: 60px; max-width: 100%; object-fit: contain; }
    .certification-item p { font-size: 14px; font-weight: 700; margin-top: 10px; line-height: 1.4; color: var(--text-primary); }
    .deep-dive-section { background-color: white; padding: 40px; border-radius: 12px; box-shadow: var(--shadow-soft);}
    .deep-dive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
    .deep-dive-block { background-color: var(--bg-section); border-radius: 12px; box-shadow: var(--shadow-soft); }
    .deep-dive-block h3 { font-size: 24px; margin-bottom: 20px; }
    .material-list dt { font-weight: 700; font-size: 18px; color: var(--text-primary); margin-top: 15px; }
    .material-list dd { margin: 5px 0 15px 20px; }
    .pren-highlight { background-color: #fff8e1; padding: 2px 6px; border-radius: 4px; font-weight: 700; color: #e95f03; }
    .actuator-list li { margin-bottom: 20px; padding-left: 25px; }
    .actuator-list li strong { display: block; font-size: 18px; }
    .actuator-list li p { margin: 5px 0 0 0; font-size: 16px; }
    .actuator-list li .use-case { font-style: italic; color: var(--industry-red); font-weight: 700; }
    
    .proof-section { background-color: var(--bg-light); }
    .proof-container { background-color: #fff; border-radius: 16px; padding: 50px; box-shadow: var(--shadow-soft); }
    .proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
    .proof-column h4 { font-size: 24px; color: var(--text-primary); margin: 0 0 20px 0; display: flex; align-items: center; gap: 12px; }
    .proof-column .icon { width: 28px; height: 28px; color: var(--industry-red); }
    .proof-list { list-style: none; padding: 0; margin: 0; }
    .proof-list li { position: relative; padding-left: 30px; margin-bottom: 15px; }
    .proof-list li::before { content: '›'; color: var(--industry-red); position: absolute; left: 0; font-weight: bold; font-size: 24px; top: -5px; }
    .proof-testimonial { margin-top: 60px; text-align: center; border-top: 1px solid var(--border-color); padding-top: 60px; }
    .proof-testimonial blockquote { font-size: 22px; font-style: italic; color: var(--text-primary); max-width: 800px; margin: 0 auto 20px auto; border: 0; line-height: 1.6; }
    .proof-testimonial .attribution { font-weight: 600; font-size: 16px; }

.matrix-section { background-color: #fff; padding-top: 20px; padding-bottom: 20px;     border-radius: 16px;}
.matrix-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 900px; /* Ensures scrolling on smaller screens */ }
.matrix-table th, .matrix-table td { padding: 20px; border-bottom: 1px solid var(--border-color); font-size: 16px; }
.matrix-table th { text-transform: uppercase; font-size: 16px; color: var(--text-primary); }
.matrix-table td { color: var(--text-secondary); }
.matrix-table tbody tr:hover { background-color: var(--bg-light); }
.matrix-table td strong { color: var(--text-primary); font-family: 'Roboto', sans-serif; }
.matrix-table .solution-cell a {
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, transform 0.2s;
}
.matrix-table .solution-cell a:hover {
    color: var(--primary-red-hover);
    transform: translateX(3px);
}
.matrix-table .solution-cell a::after {
    content: '›';
    font-size: 20px;
    font-weight: bold;
}
.matrix-table .key-challenges {
    font-style: italic;
    font-size: 15px;
}

/* Alternate layout for visual rhythm */
.application-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-top: 50px;
    transition: box-shadow 0.3s;
}
.application-card:hover {
    box-shadow: var(--shadow-medium);
}
.application-card-image {
    flex-basis: 40%;
    min-width: 40%;
}
.application-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.application-card.reverse {
    flex-direction: row-reverse;
}
.application-card-content {
    flex-basis: 60%;
    padding: 50px;
}
.application-card h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: var(--accent-blue);
}
.application-card .app-description {
    margin-bottom: 25px;
    font-style: italic;
    font-size: 16px;
    color: var(--text-secondary);
}
.application-card .rec-title {
 
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-transform: uppercase;
}
.application-card .rec-text {
    margin-top: 0;
    margin-bottom: 30px;
}
.application-card-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

        .solution-card {
            overflow: hidden;
            transition: max-height 0.6s ease-in-out, padding 0.6s ease-in-out;
            padding: 30px;
            background-color: #fff;
    border-radius: 16px;
        }
        .solution-card.active { max-height: 2000px; /* Large value to allow content to expand */ padding: 30px; }

        .solution-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px 40px;
        }
        .solution-detail-block {
            border-top: 1px solid var(--border-color);
            padding-top: 15px;
        }
        .solution-detail-block h4 {
            font-size: 16px;
            text-transform: uppercase;
            color: var(--accent-blue);
            margin-bottom: 15px;
            font-weight: 600;
        }
        .solution-detail-block p, .solution-detail-block li {
            font-size: 16px;
            line-height: 1.7;
            margin: 0;
        }
        .solution-detail-block p:not(:last-child), .solution-detail-block li:not(:last-child) {
            margin-bottom: 8px;
        }
        .solution-reasoning, .solution-product-link {
            grid-column: 1 / -1; /* Span full width */
        }
        .solution-product-link .cta-button {
            padding: 12px 28px;
            font-size: 15px;
        }

/*xuanfu*/
.tool-bar {
    position: fixed;
    z-index: 99999;
}
.tool-item {
    position: relative;
    background: #fff;
    text-align: center;
}
.tool-item a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    color: #284eb4;
}
.tool-item.active {
    background-color: #284eb4;
    color: #fff;
}
.tool-item.active a {
    color: #fff;
}
.tool-item-sub {
    display: none;
}
.cwhatsapp {display: block;width: 24px;height: 24px;background:url('/static/images/c-whatsapp.png') no-repeat bottom;}
.cpencil {display: block;width: 24px;height: 24px;background:url('/static/images/c-pencil.png') no-repeat bottom;}
.cenvelope {display: block;width: 24px;height: 24px;background:url('/static/images/c-envelope.png') no-repeat bottom;}
.fa-online{
    display: inline-block;
    background:url(/static/images/online.webp) center no-repeat ;
    width:100%;
    height: 100%;
    background-size:contain;
}
.js-to-top i {font-size: 32px;}


@media screen and (min-width: 769px) {
  /* tool bar */
  .tool-item-name {display: none;}
  .tool-bar {
        right: 10px;
        bottom: 100px;
    }
    .tool-item {
        width: 50px;
        border: 1px solid #ccc;
        border-radius:0 10px 10px 0;
        margin-bottom: 5px;
        padding-bottom: 100%;
    }
    .tool-item a {
        border-radius:0 10px 10px 0;
        text-decoration: none;
    }
    .tool-item a:hover {
        background-color: #284eb4;
    }
    .tool-item .fa {
        margin-top: 12px;
        margin-left: 12px;
        font-size: 24px;
    }
  .tool-item-name{
    font-size: 14px;
  }
    .tool-item-sub {
        position: absolute;
        right: 100%;
        top: 0;
        width: auto;
        min-height: 20px;
        margin-left: 5px;
        padding: 10px;
        line-height: 30px;
        background: #fff;
        font-size: 16px;
        font-weight: bold;
    }
    .tool-item a:hover {
        color: #fff;
    }
    .tool-item a:hover .tool-item-sub {
        display: block;
        background-color: #284eb4;
        color: #fff;
    }
    .navlanguage {display:none;}    
}

@media screen and (max-width: 768px) {
  /* tool bar */
  .tool-bar {
        left: 0;
        bottom: 0;
        width: 100%;
        height: 60px;
        border-top: 1px solid #ccc;
    }
    .tool-item {
        float: left;
        width:25%;
        height: 60px;
    }
    .tool-item a {
        text-decoration: none;
    }
    .tool-item .fa {

        margin-top: 10px;
        width: 100%;
    }
    .bartop{
        display: none;
    }
    .tool-item a {text-align: center; display: inline-block;}
    .ftqlink,.ftform {display: none;}
    .ftcontact {margin-top: 30px;}
    .indexbanner .swiper-slide .info .cont h3 {margin-top: 6rem;}
    .copyright {padding-bottom: 60px;}
}



@media (max-width: 1024px) {
    .problems-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .application-card, .application-card.reverse {
        flex-direction: column;
        gap: 0;
    }
    .application-card-image {
        width: 100%;
    }
    .application-card-image img {width: 100%; height:100%;}
    .application-card-content {
        padding: 40px 30px;
    }
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


@media (max-width:767px){
.custom-posts-archive-with-filter-filters {display: none;}
.case-study-grid { display: grid; grid-template-columns: 1fr; gap: 0px;}
}


    .social-media li a i {transition:all .3s ease;}
    .social-media li a i.icon-youtube {color:#f80031;}
    .social-media li a:hover i.icon-youtube {color:#fff;}
    .social-media li a i.icon-linkedin {color:#6facf3;}
    .social-media li a:hover i.icon-linkedin {color:#fff;}
    .social-media li a i.icon-facebook {color:#0a0b75;}
    .social-media li a:hover i.icon-facebook {color:#fff;}
    .social-media li a i.icon-instagram {color:#d000ba;}
    .social-media li a:hover i.icon-instagram {color:#fff;}
    .social-media li a i.icon-tiktok {color:#000;}
    .social-media li a:hover i.icon-tiktok {color:#fff;}